Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Stepping through VBA code in Excel
What is the best way to set breakpoints and step through code in Excel VBA?
To edit the VBA code I have to tell Excel to disable macros when I open a spreadsheet, and then I can't run the code to step through it. Bill |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Stepping through VBA code in Excel
Here is something i use all the time: Sto
Put Stop as the first executable line in the code you want toi step through. The code will cease execution and allow you to step through. |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Stepping through VBA code in Excel
Why do you have to disable macros?
If you need to disable only the startup macros, keep the Shift key depressed while the workbook is opening. -- Vasant "Bill Murphy" wrote in message ... What is the best way to set breakpoints and step through code in Excel VBA? To edit the VBA code I have to tell Excel to disable macros when I open a spreadsheet, and then I can't run the code to step through it. Bill |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Stepping through Code | Excel Discussion (Misc queries) | |||
Error trapped only while stepping through the code - Not triggered when run | Excel Discussion (Misc queries) | |||
Error trapped only while stepping through the code - Not triggered when run | Excel Discussion (Misc queries) | |||
Stepping through VBA code in Excel | Excel Programming | |||
Stepping through code gives different results than running it! | Excel Programming |