Windows XP How do I Auto Start a Macro

Joined
Jul 3, 2008
Messages
407
Reaction score
0
Unless it's signed / fully trusted..... you can't.
You can code it to but Microsoft have applied security features to prevent it.
It's a big vulnability.
 
Joined
Mar 19, 2009
Messages
2
Reaction score
0
what is the auto start code for a macro
This is what VB has in it's help file:

"This example opens the workbook Analysis.xls and then runs its Auto_Open macro."
Workbooks.Open "ANALYSIS.XLS"
ActiveWorkbook.RunAutoMacros xlAutoOpen

Does the name of the macro go in the place of :AutoOpen or is AutoOpen the name of a file that has the macro in it that you want to 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

Top