chuckschilling
Programmer
Hi all! I'm writing a VBA script which launches an Excel worksheet from within another application (Lotus Notes). The problem I'm having is that I want to lock down the script so that it only opens one instance of Excel, no matter how many times the user launches it. To do this, I'm pretty sure I'll need to get a handle on each instance of Excel that might be open (the user may or may not have Excel already running in another instance), and poll each instance of Excel for existing workbook names. The problem is that I don't know how to get a handle on each instance of Excel programmatically using VBA and don't know C or REXX or any of the other applications which might help me get a better handle on Office automation objects. Does anyone have any ideas as to how I can do this?