Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 124
Default Annoying message - anyone know why it's occurring?

Hi,

I am running the code to test it and it is breaking due to an error but when
the debugger opens it puts up a dialogue box with the message:

'Can't execute the code in break mode'

Anyone any idea why this annoying message has started occuring when it
breaks (prior to this it just opened the debugger at the offending line
without the annoying dialogue box).

Any help appreciated, Mark


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default Annoying message - anyone know why it's occurring?

look at this site:

http://support.microsoft.com/kb/213672

"Mark Stephens" wrote:

Hi,

I am running the code to test it and it is breaking due to an error but when
the debugger opens it puts up a dialogue box with the message:

'Can't execute the code in break mode'

Anyone any idea why this annoying message has started occuring when it
breaks (prior to this it just opened the debugger at the offending line
without the annoying dialogue box).

Any help appreciated, Mark



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 124
Default Annoying message - anyone know why it's occurring?

Hi JLG,

That certainly highlights the problem and tells me what to do when it
happens (which I do know) what I need to find out is why it is happening and
how to stop it telling me it cannot operate in break mode (which is implicit
in that it has broken due to an erro for me to debug).

Anyone else?

Regards, Mark


"JLGWhiz" wrote in message
...
look at this site:

http://support.microsoft.com/kb/213672

"Mark Stephens" wrote:

Hi,

I am running the code to test it and it is breaking due to an error but
when
the debugger opens it puts up a dialogue box with the message:

'Can't execute the code in break mode'

Anyone any idea why this annoying message has started occuring when it
breaks (prior to this it just opened the debugger at the offending line
without the annoying dialogue box).

Any help appreciated, Mark





  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 703
Default Annoying message - anyone know why it's occurring?

Be more descriptive. Are you doing anything differently than before? How
are you running the macro? Are you going to the sub or function in the VBE
and pressing F5? Or are you doing Tools -- Macro -- Macros to run the
macro from the workbook? Do you already have breakpoints set? Have you
entered any new lines of code since the last time it worked as you expected?

"Mark Stephens" wrote:

Hi JLG,

That certainly highlights the problem and tells me what to do when it
happens (which I do know) what I need to find out is why it is happening and
how to stop it telling me it cannot operate in break mode (which is implicit
in that it has broken due to an erro for me to debug).

Anyone else?

Regards, Mark


"JLGWhiz" wrote in message
...
look at this site:

http://support.microsoft.com/kb/213672

"Mark Stephens" wrote:

Hi,

I am running the code to test it and it is breaking due to an error but
when
the debugger opens it puts up a dialogue box with the message:

'Can't execute the code in break mode'

Anyone any idea why this annoying message has started occuring when it
breaks (prior to this it just opened the debugger at the offending line
without the annoying dialogue box).

Any help appreciated, Mark






  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 703
Default Annoying message - anyone know why it's occurring?

....Is the line that is breaking with the error trying to execute another
function. Post the line where it is breaking.

"Mark Stephens" wrote:

Hi JLG,

That certainly highlights the problem and tells me what to do when it
happens (which I do know) what I need to find out is why it is happening and
how to stop it telling me it cannot operate in break mode (which is implicit
in that it has broken due to an erro for me to debug).

Anyone else?

Regards, Mark


"JLGWhiz" wrote in message
...
look at this site:

http://support.microsoft.com/kb/213672

"Mark Stephens" wrote:

Hi,

I am running the code to test it and it is breaking due to an error but
when
the debugger opens it puts up a dialogue box with the message:

'Can't execute the code in break mode'

Anyone any idea why this annoying message has started occuring when it
breaks (prior to this it just opened the debugger at the offending line
without the annoying dialogue box).

Any help appreciated, Mark








  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default Annoying message - anyone know why it's occurring?

What the article states is that the message only appears if you are in break
mode when you try to start another macro from the keyboard or from the run
command using the macro dialogs box. So in simple words, you have a live
macro somewhere that is in break mode while you are tring to start a new, or
even the same, macro. Open the VBE and look for the macro that is in break
mode and either end it or click the continue control to finish running it.

I don't know how to explain it any differently.

"Mark Stephens" wrote:

Hi JLG,

That certainly highlights the problem and tells me what to do when it
happens (which I do know) what I need to find out is why it is happening and
how to stop it telling me it cannot operate in break mode (which is implicit
in that it has broken due to an erro for me to debug).

Anyone else?

Regards, Mark


"JLGWhiz" wrote in message
...
look at this site:

http://support.microsoft.com/kb/213672

"Mark Stephens" wrote:

Hi,

I am running the code to test it and it is breaking due to an error but
when
the debugger opens it puts up a dialogue box with the message:

'Can't execute the code in break mode'

Anyone any idea why this annoying message has started occuring when it
breaks (prior to this it just opened the debugger at the offending line
without the annoying dialogue box).

Any help appreciated, Mark






  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default Annoying message - anyone know why it's occurring?

Just an added note. If the macro is entering break mode due to an error,
then you need to fix the code that causes the error to keep from getting the
"Can't execute" message. Also, if it is entering break mode because there is
a manual break point applied, then remove the manual break point.

"Mark Stephens" wrote:

Hi JLG,

That certainly highlights the problem and tells me what to do when it
happens (which I do know) what I need to find out is why it is happening and
how to stop it telling me it cannot operate in break mode (which is implicit
in that it has broken due to an erro for me to debug).

Anyone else?

Regards, Mark


"JLGWhiz" wrote in message
...
look at this site:

http://support.microsoft.com/kb/213672

"Mark Stephens" wrote:

Hi,

I am running the code to test it and it is breaking due to an error but
when
the debugger opens it puts up a dialogue box with the message:

'Can't execute the code in break mode'

Anyone any idea why this annoying message has started occuring when it
breaks (prior to this it just opened the debugger at the offending line
without the annoying dialogue box).

Any help appreciated, Mark






  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,588
Default Annoying message - anyone know why it's occurring?


"JLGWhiz" wrote in message
...
Just an added note. If the macro is entering break mode due to an error,
then you need to fix the code that causes the error to keep from getting
the
"Can't execute" message.


Or press Stop.

Tim

Also, if it is entering break mode because there is
a manual break point applied, then remove the manual break point.

"Mark Stephens" wrote:

Hi JLG,

That certainly highlights the problem and tells me what to do when it
happens (which I do know) what I need to find out is why it is happening
and
how to stop it telling me it cannot operate in break mode (which is
implicit
in that it has broken due to an erro for me to debug).

Anyone else?

Regards, Mark





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
Trace errant formula to stop annoying message Mark Stephens Excel Programming 13 August 13th 10 03:40 PM
How Do You Stop Annoying Excel Message Boxes? Colin Hayes Excel Worksheet Functions 36 January 14th 08 09:44 PM
excel links popup message - very annoying marsenal Excel Discussion (Misc queries) 3 August 16th 06 05:45 AM
Can I avoid annoying Update Links message phillyjoe Excel Discussion (Misc queries) 2 October 29th 05 03:00 PM
Annoying clipboard message Sion Smith[_2_] Excel Programming 2 August 25th 04 01:31 PM


All times are GMT +1. The time now is 03:26 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"