General information
Category:
Coding, syntax & commands
>I posted a message earlier about using word basic to format a document from within foxpro. Thanks for the answers, they were most helpful. My dilemma now is that I can get the font size and type to change but am now trying to save the file as a text file. I can pass the file name to the .FileSaveAs word basic command, but when I try to use ActiveDocument.SaveAs, foxpro is not happy with this. I have created an object (word.basic) to do the other formatting changes. How do I use this command so that foxpro will understand what wdFormatText is? I'm using Foxpro 5.0. Thanks again!
Paul
Try .fileSaveAs('c:\mydir\myfile.doc', #)
Where # is a number cooresponding to the type of save you want, ie: I believe 9 is 6.0 format. When I tested this (a long time ago) the 9 was the 9th option when you 'saved as' a document. I didn't have any documentation but and it was a trial and error process!
Robert
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