General information
Category:
COM/DCOM and OLE Automation
Title:
Save and SaveAs in Word
OK,
I put the last request in the wrong area. I have a piece of code that Cetin had sent to someone concerning mailmerge
I use it to start word allowing the end user to edit filename passed in. Works great except I need to insure end user
can not rename the file 1st scenario and Can not access the save or saveas buttons 2 scenario so we can control
the name of the file user is working on. Thought adding command
oWord = GetObject("","word.basic")
With oWord
.FileNew(myFile)
.appShow
*!* Allow user to edit it and then to save it
EndWith
*!* Use something like this
.SaveAs(myFile,".doc")
*!* or this...
.Save(myFile,".doc")
.SaveAs = 0 && False no dialog
I get no errors but the saveas and save dialogs always comes up and allows me to do anything...
Please Help and thanks in advance...Not Cetin's problem this is my problem not his code failing.
Do it Right! Not Over...
Cecil
Next
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