View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
N E Body N E Body is offline
external usenet poster
 
Posts: 34
Default Break/disable a macro when opening a workbook

Hi Niklas

Open a new excel worksheet then select tools, macros, security and increase
the security level. Next time you open the problem workbook you will be
prompted to run macros or not! (Excel 2000)
For Excel 97 I cant remember exactly but I think you tick a box on the
general tab found via tools, options.

HTH

Kenny
"Niklas" wrote in message
...
Hi
I have got a Workbook which runs code in the open event, but the problem

is that something in the code crashes Excel. Is it possible to open a
workbook in "break mode" so I am able to debug the code in the open event?
Regards
/Niklas