Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Excel/Word Guru help needed
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00842135
Message ID:
00842418
Views:
13
Hi Jeff,

I just ran into this early this morning when I was coding in a new SaveToWord() Method into my Report Engine control. I ended up looking on the MSDN for the OPTIONAL parameters to QUIT WORD. If you have already made all the changes and saved the DOC file than pass the QUIT Method a 0 for DON'T PROMPT FOR SAVE.

So code it like this:
oWord.Quit(0)
Hopefully that will solve your problem. Search for the wdSaveOptions parameter of the QUIT Method.



Word is suppose to be closed at that point. I'm pretty much at the end of my limited ablity to come up with work arounds. I've tried several other ways around this like removeing the data source from the work doc and having excel add it when it opens. Either way I get the same results. There is no way someone has not already run into this, unless it's the way I have it coded.

:(

TAW

Jeff
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform