PDA

Click to See Complete Forum and Search --> : hyperlink navigation in Word 2003


daluu
Apr 21st, 2006, 06:00 PM
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?

cssriraman
Apr 21st, 2006, 08:19 PM
Here is the code:Selection.Hyperlinks(1).Follow

daluu
Apr 22nd, 2006, 01:13 AM
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.