If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > Viewing what the Macro's doin??

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-16-04, 10:43
dba1977 dba1977 is offline
Registered User
 
Join Date: Sep 2003
Location: Kalamazoo
Posts: 42
Question Viewing what the Macro's doin??

Hi,
I have a Macro which has around 1000 lines in it. I wanna see what the Macro is doing, when being RUN...I mean can I view a Macro RUN step-by-step? Please lemme know.
TIA
Reply With Quote
  #2 (permalink)  
Old 06-21-04, 09:45
texasalynn texasalynn is offline
Registered User
 
Join Date: Jun 2002
Location: Houston, TX
Posts: 116
You could run the macro with the "Step Into"

HTH
texasalynn
Reply With Quote
  #3 (permalink)  
Old 06-23-04, 09:04
pierrevbaexcel pierrevbaexcel is offline
Registered User
 
Join Date: Dec 2003
Location: Ottawa, Canada
Posts: 72
Talking Viewing what the macro does

Open Excel and the VBEditor (only). Right click on the status bar and select "Tile windows verticaly. In the VBEditor click within the code and then use the F8 key
__________________
A piece of data is like a brick
If you don't build anything with it
It is just a brick
www.excel-examples.com
Reply With Quote
  #4 (permalink)  
Old 06-23-04, 09:11
shades shades is offline
Registered User
 
Join Date: Oct 2003
Posts: 1,091
Quote:
Originally Posted by dba1977
Hi,
I have a Macro which has around 1000 lines in it. I wanna see what the Macro is doing, when being RUN...
Just a question: 1,000 lines of VBA code?

Hmmmm... I wonder if it might be better to reorganize and code in units (self-contained), which is part of the structured programming approach (see John Walkenbach, Excel 2002 Power Programming with VBA, page 213). This approach means that the VBA code is easier to build, easier to maintain, easier to trouble-shoot, and easier for someone else to come in and use, maintain, update, etc.
__________________
old, slow, and confused
but at least I'm inconsistent!

Rich
(retired Excel 2003 user, 3/28/2008)

How to ask a question on forums
Reply With Quote
  #5 (permalink)  
Old 06-23-04, 09:22
pierrevbaexcel pierrevbaexcel is offline
Registered User
 
Join Date: Dec 2003
Location: Ottawa, Canada
Posts: 72
Seeing what it does

Call me at 1-800-501-6760

I am old too
__________________
A piece of data is like a brick
If you don't build anything with it
It is just a brick
www.excel-examples.com
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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