Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Read out VBA code from a damaget excel.xls workbook.

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
  #2   Report Post  
Posted to microsoft.public.excel.programming
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



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Read out VBA code from a damaget excel.xls workbook.

Thank you, Out og focus" is that the worbook does not respont to any action.
The macro starts when the book is opend. Workbook_onload
Ill tried the VB6 and excel object model, but no cure.
Best regards.
--
Øyvind


"NickHK" wrote:

Ø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




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

Øyvind,
If it's your macro you rewrite it to do what you want.

NickHK

"Øyvind" wrote in message
...
Thank you, Out og focus" is that the worbook does not respont to any

action.
The macro starts when the book is opend. Workbook_onload
Ill tried the VB6 and excel object model, but no cure.
Best regards.
--
Øyvind


"NickHK" wrote:

Ø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






  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Read out VBA code from a damaget excel.xls workbook.

I am doing that, and next time i use a backup !!!!!
--
Øyvind


"NickHK" wrote:

Øyvind,
If it's your macro you rewrite it to do what you want.

NickHK

"Øyvind" wrote in message
...
Thank you, Out og focus" is that the worbook does not respont to any

action.
The macro starts when the book is opend. Workbook_onload
Ill tried the VB6 and excel object model, but no cure.
Best regards.
--
Øyvind


"NickHK" wrote:

Ø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






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need VBA Code to Open a Workbook in read only zulfer7 Excel Discussion (Misc queries) 1 July 10th 06 11:00 PM
Read excel workbook starfighter61 Excel Worksheet Functions 6 October 28th 04 10:47 AM
Open Excel file as Read Only with code, yogendra joshi Excel Programming 1 May 13th 04 03:46 PM
Excel Gurus = want a macro in 1 workbook to get info from another workbook = Read please harry Excel Programming 5 December 20th 03 03:26 AM
Opening Excel Workbook from Word using VBA - Always Read Only Alan Excel Programming 0 November 5th 03 02:55 AM


All times are GMT +1. The time now is 07:49 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"