M
Matz
I am trying to write a Word Macro to convert selected text in
3G specifications into hyperlinks to other places within the
same document. However, I believe there is a bug in Word.
As a simple example, if I record a macro to add a hyperlink,
using the standard record macro functionality, to produce the
following macro code:
Sub Macro1()
'
' Macro1 Macro
' Macro recorded 2004-10-11 by user1
'
ActiveDocument.Hyperlinks.Add Anchor:=Selection.Range,
Address:="", _
SubAddress:="_9.2.1.4_Cause", ScreenTip:="", TextToDisplay:= _
"9.2.1.4 Cause"
End Sub
then the hyperlink I have created works. But if I exit Word
without saving the document, then reopen the document and
re-run the macro I had previously created, the new hyperlink
it creates doesn't work. This seems like a bug to me, any idee?
3G specifications into hyperlinks to other places within the
same document. However, I believe there is a bug in Word.
As a simple example, if I record a macro to add a hyperlink,
using the standard record macro functionality, to produce the
following macro code:
Sub Macro1()
'
' Macro1 Macro
' Macro recorded 2004-10-11 by user1
'
ActiveDocument.Hyperlinks.Add Anchor:=Selection.Range,
Address:="", _
SubAddress:="_9.2.1.4_Cause", ScreenTip:="", TextToDisplay:= _
"9.2.1.4 Cause"
End Sub
then the hyperlink I have created works. But if I exit Word
without saving the document, then reopen the document and
re-run the macro I had previously created, the new hyperlink
it creates doesn't work. This seems like a bug to me, any idee?