hyperlink navigation in Word 2003
I have this code that we use in Word 2000, 2002:
'go to the selected hyperlink
WordObj.Selection.Hyperlinks(1).Follow();
I tried it out briefly on Word 2003 before and it didn't work. As I recall, Word 2003 removed the hyperlinks collection or something similar that caused the above line to fail.
What's the equivalent code to do the same thing then for Word 2003?
Re: hyperlink navigation in Word 2003
Here is the code:
VB Code:
Selection.Hyperlinks(1).Follow
Re: hyperlink navigation in Word 2003
I'm sorry, I should have posted the VB version of the code. What you have is the same as what we have (I copied & pasted from a JScript version though).
I'll have to double check but the last time I ran that code, it failed in Word 2003.