Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Application.Quit Problem

Status
Not open for further replies.

BobHunter

Programmer
Mar 26, 2001
62
0
0
GB
Although Application.Quit may close any documents (we're talking Word here) it does not kill off the Word session.

How can this be achieved ? I've googled & tektipped & all the rest to no avail. I want it to do exactly what it says on the tin, i.e. Quit the Application.

TIA,

Bob.
 
try
Code:
Set Application = Nothing
and be sure that all your application objects are also set to nothing.

Actually much better to have set an application object with the CreateObject method and then manipulate that instance.

Skip,
Skip@TheOfficeExperts.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top