General information
Category:
COM/DCOM and OLE Automation
I am using Word 2000 in which I have created a document with bookmarks. Using the code from a FoxPro Advisor June 1996 article "Unleash the Power of OLE and Best-of-Breed Tools" by Michael P. Antonovich I am having a problem with the following. I first go to the bookmark of using the code WorkObj.EditGoTo(pcMarkName) and then using WordObj.Insert(pcFullName). The code work fine but doesn't place the pcFullName at the location of the bookmark. I retrieve the book defined in the word doc by pnCountMarks = WordObj.CountBookMarks and then store them in array. Any idea as to what could be happening here. It appears as those it is not actually go to the bookmark. When I open the word document and select from the insert bookmark menu and then select the bookmark with the goto button it does go to it. Any ideas.
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