tags:

views:

193

answers:

1

I want to download a macro-enabled Excel workbook from my PHP page. When the workbook displays, the macro should run. How can I ensure the macro will run after the user opens the Excel workbook?

+2  A: 

If you call your macro "Auto_Open", Excel will run it when the workbook is opened (subject to user's security settings)

Ken Keenan