General information
Category:
COM/DCOM and OLE Automation
Oscar,
I do something very similar with several documents. Here's how I do it...
WITH oWord.ActiveDocument
IF .Bookmarks.Exists(lcMercador) = .T.
.BookMarks(lcMercador).SELECT
*-- do something with the bookmark
ENDIF
ENDWITH
*Options depending on what you want to do:
*-- Delete using
oWord.ActiveDocument.Selection.Delete
*-- Overwrite it using
oWord.ActiveDocument.Selection.TypeText(lcReplacementText)
HTH,
Dan Zsiga
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