Click here to Skip to main content
16,016,669 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to enable macros automatically while opening workbook,How is it possible?Can anyone help me please...
Posted

 
Share this answer
 
Comments
Member 7940184 21-Sep-11 0:56am    
ThankQ for yor reply.Without any Settings is it possible?bcoz i want to run this excel in number of systems,changing settings in each and every system is not good..
Thanks in advance
The only one way to do this is to change registry option ;)

Normal security - you can choose which file is opened with macros:
[HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Excel\Security]<br />
"Level"=dword:00000002<br />

High security - any file is opened with option: disable macros
[HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Excel\Security]<br />
"Level"=dword:00000004
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900