Information générale
Catégorie:
Codage, syntaxe et commandes
>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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement