Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
VBA macro step-by-step
How can one follow follow the step-by-step execution of a
macro. Thanks |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
VBA macro step-by-step
use STEP into/out (F8) in debug menu in VBE or first set some breakpoints with F9, then fire up your procedures and they will stop on the breakpoints. If the LOCALS window is visible, you can see all your variables, or add some watches on variables you'd like to monitor. keepITcool < email : keepitcool chello nl (with @ and .) < homepage: http://members.chello.nl/keepitcool "Louis" wrote: How can one follow follow the step-by-step execution of a macro. Thanks |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
VBA macro step-by-step
It worked! thanks
I didn't really understand how I could watch the state of my variables as the macro excecutes itself. I'm running Excel97 Thanks for your help so far. -----Original Message----- use STEP into/out (F8) in debug menu in VBE or first set some breakpoints with F9, then fire up your procedures and they will stop on the breakpoints. If the LOCALS window is visible, you can see all your variables, or add some watches on variables you'd like to monitor. keepITcool < email : keepitcool chello nl (with @ and .) < homepage: http://members.chello.nl/keepitcool "Louis" wrote: How can one follow follow the step-by-step execution of a macro. Thanks . |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
VBA macro step-by-step
Ignore this message if you understand it now. (I wasn't sure if you didn't
before or don't currently.) When you're stepping through your code, you can let the cursor linger over a variable and you'll see a tooltip pop up with its current value. You can also rightclick on a variable and select "Add Watch" Then you can see the watch window by: View|Watch window (if you closed it) Louis wrote: It worked! thanks I didn't really understand how I could watch the state of my variables as the macro excecutes itself. I'm running Excel97 Thanks for your help so far. -----Original Message----- use STEP into/out (F8) in debug menu in VBE or first set some breakpoints with F9, then fire up your procedures and they will stop on the breakpoints. If the LOCALS window is visible, you can see all your variables, or add some watches on variables you'd like to monitor. keepITcool < email : keepitcool chello nl (with @ and .) < homepage: http://members.chello.nl/keepitcool "Louis" wrote: How can one follow follow the step-by-step execution of a macro. Thanks . -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Creating a Drop Down List with Step by Step Instructions for 2007 | Excel Worksheet Functions | |||
Need step by step to add invoice numbering to excel template | New Users to Excel | |||
Macro Step by Step | Excel Discussion (Misc queries) | |||
What is the step-by-step procedure for making a data list? | Excel Discussion (Misc queries) | |||
I need step by step instructions to create a macro for 10 imbedde. | Excel Worksheet Functions |