M Mcasteel Oct 27, 2004 #1 How do I set a break point in VBA (Excel) to check erorrs while the cod executes
G Guest Oct 27, 2004 #2 Press "F9" key on the line you want to use. press F9 to turn off the break point
G Guest Oct 27, 2004 #3 Select "Err" (not Error, but "Err") in the procedure you want to debug. Right click, select "Add Watch...", Select "Break when value changes", OK Run the code. If Err changes from 0 to anything else (1004 - my personal favorite), the VBE will appear in debug mode. Dale Preuss
Select "Err" (not Error, but "Err") in the procedure you want to debug. Right click, select "Add Watch...", Select "Break when value changes", OK Run the code. If Err changes from 0 to anything else (1004 - my personal favorite), the VBE will appear in debug mode. Dale Preuss