General information
Category:
COM/DCOM and OLE Automation
The easiest way to learn how to deal with Automation here is to create a macro.
Create a macro, splitting table, and setting Page properties as you need. Then go to Edit MAcro option to observe the code. You will need to translate macro from VBA to VFP, but it is not so hard.
>>>>>>>>>>>>>>>>>>>>>> your message below
hi all:
when i create 2 tables thru' OLE/Automation in MS WORD i want to separate them with a blank line space. If i create the line space with oWord.Selection.TypeParagraph, i am unable to insert values into the cells of the 2nd table as i get an error. how can i overcome this ? further, i also need to set the TOP, BOTTOM, LEFT & RIGHT margins of the document through automation. How can this be achieved ?
many thanks in advance.
Previous
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