Jump to content
Sign in to follow this  

word.au3 & .docx

Recommended Posts

I know the diff and the whole xml thing with the .docx.

The script I was writing uses _WordCreate() from word.au3. If the file does not exist it is created by the command, however even though it is saved with a .docx extension Word '07 is still in computability mode.

$oWordApp = _WordCreate (@ScriptDir & "\Test1.docx", 0, 0)
$oDoc = _WordDocGetCollection ($oWordApp, 0)
Send("blah blah blah," & "{ENTER}" & "test",0)
_WordQuit ($oWordApp, -1)

If I leave the create a blank .docx file, there isn't a problem. Is there a way to use _WordCreate to save in native .docx format?

Edited by targeter

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...