View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
NickHK NickHK is offline
external usenet poster
 
Posts: 4,391
Default Read out VBA code from a damaget excel.xls workbook.

Øyvind,
Not sure what you mean by "out of focus", but you can stop execution with
the "Stop" statement, which will put you in Break mode.

You can open the wb with macros enabled, but not running the _Open macro by
using Shift + Control when opening.
Is that what you want ?

NickHK

"Øyvind" wrote in message
...
I have a workbook that goes "out of focus" in my system. The reason is

that a
macro is looping when excel starts and the computer does not get anny

control
of this workbook.

I want to read out macrocode from a module and worksheet?
or
stop the execution of the workbook when it starts. clt+alt+del does not

work,
I have a MS XP operating system.


--
Øyvind