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

Excel Auto Exec? 1

Status
Not open for further replies.

davisto01

MIS
Jul 11, 2003
21
US
Anyone know how to automatically excecute a macro in excel? I am emailing this file out to a drop box. Anyone in the department can then open the file.

I would like it to then activate a formatting macro that I wrote.

Thanks!
 
Hi,

You could use the Workbook_Open event to fire your procedure.

alt+F11 displays the VB Editor

select the Workbook object in the project explorer

select the workbook object in the object dropdown and Open in the Procedure drop down.

Hope this helps ;-)

Skip,
Skip@TheOfficeExperts.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top