General information
Category:
Coding, syntax & commands
>I moved many files to different location. Now I need to change lots of hyperlinks in documents. I thought I could use VFP OLE Automation to do that since I dont know how to do that in WORD directly.
>Thanks Mark
Well you can create a macro in Word. In VFP you can do this
or at least I think it will give you the names of the Hyperlinks per page
0 = createobject("word")
x = o.ActiveDocument.Hyperlinks.Count
for i = 1 to x
tempadd(i) = ActiveDocument.Hyperlinks(i).Address
endfor
This put into a VFP word basic structure will help you.
Maybe I am wrong in the createobject at the beg..
Hummm.. see if it works
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only