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

Check if Workbook is open before using it 1

Status
Not open for further replies.

DrSimon

IS-IT--Management
Dec 14, 2001
674
GB
I'm exporting data to a workbook from Access and don't want to have conflicts if that workbook is already open.
I've got round it by checking if there is an Excel session running and telling the user to close Excel.
I'd rather be more subtle and only tell them when the specific workbook is a problem, but not clear how you look for it when there could be multiple sessions of Excel running. Does anyone have any ideas?

Many Thanks in advance
Simon
 
Looks great. Thought I'd need to use handles, but haven't had much experience, so to get in on a plate like this is great.

Simon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top