Run Excel-Macro when the Excelworkbook is open

  • Thread starter Thread starter Jens Steichert
  • Start date Start date
J

Jens Steichert

Hi there,

i wrote a script in an outlook user form. This script starts an Excel-Macro.
Before it starts the macro, the script checks if the wished workbook is
open. When it's closed the scripts starts excel and runs the macro. But the
workbook is open, the script opens the workbook again. The script should use
the current open Workbook. How can i make that?

Thanks for your help
Jens

P.S. Sorry about my English. It isn't very well
 
Show the code you're using to check wehther the workbook is already open.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top