PDA

Click to See Complete Forum and Search --> : Creating Hyperlinks in Word using VB


Eugene Tempest
Feb 8th, 2002, 05:19 PM
I want to create a hyperlink in Word using VB. Hold on! I know that's easy!

I need to create a macro, which will appear as an icon in Word. When this icon is pressed, various words in Word will automatically be selected and these will be linked to their specific file.

eg: My Word document had the words SHARES.XLS and ACCOUNTS.XLS and I wanted these words to be automatically linked to the documents C:\Mydocuments\SHARES.XLS and C:\Mydocuments\ACCOUNTS.XLS respectively.

How would I do this using Visual Basic?

:confused: :confused: :confused: