View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
ibeetb ibeetb is offline
external usenet poster
 
Posts: 67
Default Disable/Enable Macros through code

I have a workbook that runs automatically every night at midnight - it needs
the macros for this. But during the day, when a user oipens the wrkbook, I
want macros disabled -I need to turn them off when the time is greater than
5 AM, for ex. I have the time part down....it is just the code to disable
the macros that I need
"Pikus" wrote in message
...
To what end?

-----Original Message-----
Does anyone know how I can turn off macros or turn them

on in code...??

Thanks


.