I have an application that opens and Excel workbook, does some manipulations, prints the workbook to a printer and then deletes the file. It has problems deleting this file when another Excel session is already open. I don't want to do anything fancy but query to determine if EXCEL.EXE is running before I start my logic and if so, just give the user a message that they need to save their current Excel workbook and exit Excel prior to continuing.
What is the VB6.0 code that I use to see if Excel.exe is currently running?
What is the VB6.0 code that I use to see if Excel.exe is currently running?
Comment