auto run macro on workbook open

  • Thread starter Thread starter Mcasteel
  • Start date Start date
M

Mcasteel

How do I get my customized form "frmCustEnrollment" to run automaticall
when the entire file or workbook "CEF.xls" is opened
 
Hi

in the VBE window, double click on the ThisWorkbook module of your workbook,
from the top left drop down box choose Workbook and the workbook_open
procedure should be created for you
in here use
frmCustEnrollment.show

Hope this helps
Cheers
JulieD
 
Hi
put your code in the workbook_open() event procedure of your workbook
 

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