>I have an existing simple word doucment. I would llike to add my data to the doucment and print the document out. How can I do this programmatically w/o having ot recreate the document ins vfp? Using the word object code?
Jeff
Create word app
poworddoc = CREATEOBJECT("Word.Application")
Open you document
poworddoc.documents.ADD(SYS(5) + SYS(2003) + '\FDIC.DOT',.F.)
manipulate it using bookmark (add date)
poworddoc.SELECTION.GOTO(-1, , ,"youBookMark")
poworddoc.SELECTION.insertdatetime( "dddd, MMMM dd, yyyy",.F.)
You can create placemark like ***address*** then do search and replace.
You can create a table then go to the bookmark in that table and append you data in the table.
Mo
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