Ok, the solution I have so far is fairly decent. If the user has found the website in the last added IE window, then I make it easily available, and I've put all the URL's in a dropdown in a userform. That should do the trick.
But I will have a look at that enum stuff. Thank you all. This has...
Well, I have to re-create the standard hyperlink functionality and make it as easy as possible (as few operations as possible) for the users.
We are using a very customized version of Word as an editor for editorial systems for newspapers. Due to the customizations we cannot use the standard...
Yes, but doesn't the hwnd only show which instance of IE that has been created last. Does activation really change the hwnd?
Here is my scenario:
The user has used one of many already open IE's to look up a website. I want to be able to retrieve the url from this one.
Jens Busse
Workflow...
That's even better. Thanks.
I've been trying to find a way of determining which of the IE windows that has been used last by the user, but without any luck. I tried with objWindow.Document.LastModified, but that is also updated by IE itself (automatic refreshes and such). Any ideas?
Jens Busse...
Hi
I'm trying to figure out whether it is possible from Word to retrieve the active URL's in all open Internet Explorer window. My problem is that these explorer windows will most likely not be opened from inside Word. Any ideas?
Jens Busse
Workflow Consultant
CCI Europe A/S
Hi
I think I've found what I needed. I had to copy the different parts of style one by one. In other words something like:
ActiveDocument.styles("Style1").font = ActiveDocument.styles("Style2").font
etc.
Macropod: Your approach unfortunately didn't work in my case, since the style already...
Hi
I want to copy the definition of a Word Style to another style, so that their appearance will be identical. I have names of the two styles, but I don't know where to go from there. The obvious:
ActiveDocument.styles("Style1")=ActiveDocument.styles("Style2")
obviously doesn't work :)
Any...
Hi
In my VBA code I have a string containing the name of a color and I wnat to convert it into a Long.
In other words I have "wdColorDarkRed" and I want wdColorDarkRed.
All help would be greatly appreciated.
Jens Busse
Workflow Consultant
CCI Europe A/S
Thanks for the warning, but fortunately we are using our own functionality for tracking changes (with customized names), so disabling ToolsRevisionMarksToggle altogether isn't a problem.
Jens Busse
Workflow Consultant
CCI Europe A/S
Thanks Gerry
Works perfectly. Yes we are going to remove all other ways of turning track changes off. This is excellent.
Jens Busse
Workflow Consultant
CCI Europe A/S
Hi
I would like to disable the TRK button in the statusbar in Word, so that it can't be used for turning track changes on or off. Is that possible at all?
Jens Busse
Workflow Consultant
CCI Europe A/S
Hi
I am wondering if perhaps you have multiple document interface (MDI) in XP. This will open multiple documents in a single window. To check this choose Tools, Options, View; and ensure that the Windows in Taskbar check box is checked.
Its a long shot, I know.
Jens Busse
Workflow Consultant...
Hi
I want to convert a unix date (e.g. 1084199760) into dd,mm,yyyy hh:mm:ss. How do I do this in Word VBA? There must be a simple way right?
Jens Busse
Workflow Consultant
CCI Europe A/S
Well I've probably not explained my problem properly. I want this particular Word document to be available in the taskbar at all times (so I can run the macros attached to it) but I don't want it to be (too) visible on the screen. So far I've just resized it to the smallest possible size, but...
Hi
I have a pretty complicated problem. I have a Word document with a table and some macros that can send the table information to another application. This is done by activating the Word document and hitting a shortcut. This works perfectly.
My problem is that I want the Word document to be as...
I'm creating a macro that prints a document to a file. It works perfectly but I would like to reset the "Print To File" setting for the printer. Otherwise I will as default continue to PrintToFile. My Code:
Sub CreatePdf()
Dim PDFName As String
PDFName =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.