E
electrixnow
I am writing a macro that will be envoked on the command line:
winword /mmerge /q C:\file.doc
The macro merges a datafile with file.doc and then prints the filled in
document.
I want it to run in the background without displaying the GUI. The /q
turns off the splash screen.
I think the following turns of the GUI.
Application.Visible = False
Does anyone know how to close without saving the document and exit
winword?
I have tried the following:
ActiveDocument.Close
Application.DisplayAlerts = False
Applicaton.Quit
help show the following syntax, but I don't know the format:
Application.Quit(SaveChanges, Format, RouteDocument)
Application._Quit
Any examples or help please.
Thanks,
Grant
winword /mmerge /q C:\file.doc
The macro merges a datafile with file.doc and then prints the filled in
document.
I want it to run in the background without displaying the GUI. The /q
turns off the splash screen.
I think the following turns of the GUI.
Application.Visible = False
Does anyone know how to close without saving the document and exit
winword?
I have tried the following:
ActiveDocument.Close
Application.DisplayAlerts = False
Applicaton.Quit
help show the following syntax, but I don't know the format:
Application.Quit(SaveChanges, Format, RouteDocument)
Application._Quit
Any examples or help please.
Thanks,
Grant