Can someone please help me to convert this to FIVEWIN code:
ActiveDocument.SaveAs FileName:=strDocName, FileFormat:=wdFormatXMLDocument
Thanks in advance
Otto
Can someone please help me to convert this to FIVEWIN code:
ActiveDocument.SaveAs FileName:=strDocName, FileFormat:=wdFormatXMLDocument
Thanks in advance
Otto
FUNCTION TEST
LOCAL oWord := WinWordObj()
LOCAL oDoc
oDoc := oWord:Documents:Add()
#define wdFormatXMLDocument 12
oDoc:saveas( "path where you want to save\FileName", wdFormatXMLDocument )
oWord:Quit()
RETURN NILFUNCTION TEST
LOCAL oWord := WinWordObj()
LOCAL oDoc
oWord:Documents:Add()
oDoc := oWord:ActiveDocument
 #define wdFormatXMLDocument 12
oDoc:saveas( "path where you want to save\FileName", wdFormatXMLDocument )
oWord:Quit()
RETURN NILAndré,
thank you very much.
Now all is working so well.
Best regards,
Otto