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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Importing from Excel

Status
Not open for further replies.

ChrisLindsell

Technical User
Mar 21, 2002
3
GB
I use an excellent piece of code to import from an excel spreadsheet into a Notes view, courtesy of Cat Kat, which I picked off the Iris Sandbox.
Unfortunately there is a small problem with the code. Although the code tells excel to close and free up the memory it was using with the statements - "Excel.Quit" and "Set Excel = Nothing", there is still an excel process running with about 4 MB of memory attached to it.

Anyone got any idea of how I can make sure that excel shuts down cleanly?????
 
Is the code using Excel as an ActiveWorkbook?
If so, try

xlapp.ActiveWorkbook.Close

Jess :)
 
Hi Jess,

Thanks for the idea.....
but it still leaves the process open !

Chris
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top