closing Word application when finished with it

connexion

Registered User.
Local time
Today, 04:52
Joined
Jul 30, 2003
Messages
72
Hello,

Opening word and using it from within access is all well and good, but does anyone know how you then properly terminate the current word application successfully?

Word always seems to be left open after i have opened it from within access.

Thanks,

Vince
 
Option Compare Database

Private wordapp As Word.Application

Sub test_openword()


Set wordapp = CreateObject("word.application")

wordapp.Visible = True



End Sub



Sub test_closeword()

wordapp.Quit



End Sub
 
Thanks for that,

For a change something that looks easy!

I'll give it a bash, so appologies in advance if i set off the American's strategic strike command responce, but knowing me either word will quit, or it'll be World War III

:o)
 

Users who are viewing this thread

Back
Top Bottom