Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Activesheet.delete

I have a procedure which at one stage loops through a number of sheets in my workbook deleting them until it comes to a particular sheet, at which point it moves on to the next stage in the procedure. I have a problem at a later stage in the procedure and I want to step through the procedure to find out where the problem is. The trouble I have is that whenever the procedure reaches the sheet deletion stage a message comes up saying 'Can't enter break mode at this time', consequently I am unable to locate where the later problem is

Does anyone know why this happens and is there a work around

TI
Ron
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 96
Default Activesheet.delete

You could put a break point in just before the problem
section and then run the code. The code will stop at the
break point and you can step through from there.

Alternatively, replace the deletion temporarily with
something else such as hiding the sheet.


-----Original Message-----
I have a procedure which at one stage loops through a

number of sheets in my workbook deleting them until it
comes to a particular sheet, at which point it moves on to
the next stage in the procedure. I have a problem at a
later stage in the procedure and I want to step through
the procedure to find out where the problem is. The
trouble I have is that whenever the procedure reaches the
sheet deletion stage a message comes up saying 'Can't
enter break mode at this time', consequently I am unable
to locate where the later problem is.

Does anyone know why this happens and is there a work

around?

TIA
Ron
.

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
name of the activesheet rasta Excel Programming 1 October 3rd 03 09:49 PM
ActiveSheet.Name? Andrew Stedman Excel Programming 5 July 30th 03 01:17 PM
ActiveSheet Graham[_3_] Excel Programming 0 July 30th 03 09:08 AM
ActiveSheet Ron de Bruin Excel Programming 0 July 29th 03 04:59 PM
ActiveSheet Graham[_3_] Excel Programming 0 July 29th 03 04:47 PM


All times are GMT +1. The time now is 04:42 PM.

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"