V
vs.parthasarathy
Hi,
I am starting and quiting WORD silently from my Excel VBA. Sometimes
Word is still in the memory, it is seen in Task Manager. WORD also
loads some COM Addins. If there are no COM Addins it is quiting
always. To check all the add-ins are loaded, I added a message box
("OnStartupComplete end") in OnStartupComplete. Sometimes "Word has
started" message pops up before "OnStartupComplete end. My assumption
is "new Word.Application" is returing before all the add-ins get
loaded.
Dim w as Word.Application
set w = new Word.Application
MsgBox "Word has started"
w.Quit
Is there any other way to Quit word properly?
How to find out whether all the add-ins are loaded or not?
Environment : Office 2007.
Thanks,
VSP
I am starting and quiting WORD silently from my Excel VBA. Sometimes
Word is still in the memory, it is seen in Task Manager. WORD also
loads some COM Addins. If there are no COM Addins it is quiting
always. To check all the add-ins are loaded, I added a message box
("OnStartupComplete end") in OnStartupComplete. Sometimes "Word has
started" message pops up before "OnStartupComplete end. My assumption
is "new Word.Application" is returing before all the add-ins get
loaded.
Dim w as Word.Application
set w = new Word.Application
MsgBox "Word has started"
w.Quit
Is there any other way to Quit word properly?
How to find out whether all the add-ins are loaded or not?
Environment : Office 2007.
Thanks,
VSP