View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Mike Fogleman[_2_] Mike Fogleman[_2_] is offline
external usenet poster
 
Posts: 206
Default vba code to enable macros

No. If we can do that with code, then so could a hacker with bad intentions.

Mike F
"varsha12" wrote in message
...
Hi,
Can we write a vba code to enable macros. In most of the sites it says
we cant do that . The only thing we can do is change the macro setting or
work around is hide the sheet which has macros. But none of them will work
in
my case. Can we change an excel security setting to from macro on open so
that macros are enabled.