MikeAu
01-16-2019, 08:18 AM
Hi
At work we have a big VBA program and im now adding some Hyperlinks here and there to make it easier to use. My problem is that one of the codes i have to put hyperlink always gets error 4198 command failed and i dont get why. The debug tells me that the issue is on this part of the code:
ActiveDocument.Hyperlinks.Add Anchor:=Selection.Range, Address:= _
"Q:\MIP-02test.pdf", SubAddress:="", ScreenTip:="", TextToDisplay:= _
"Manuel Installation Des Produits BMH"
If you have any idea why this error could happen tell me
thank you
At work we have a big VBA program and im now adding some Hyperlinks here and there to make it easier to use. My problem is that one of the codes i have to put hyperlink always gets error 4198 command failed and i dont get why. The debug tells me that the issue is on this part of the code:
ActiveDocument.Hyperlinks.Add Anchor:=Selection.Range, Address:= _
"Q:\MIP-02test.pdf", SubAddress:="", ScreenTip:="", TextToDisplay:= _
"Manuel Installation Des Produits BMH"
If you have any idea why this error could happen tell me
thank you