watch window

g48dd

Board Regular
Joined
Jan 12, 2009
Messages
101
Excel 2003: If you click on a formula in the formula bar, you can see what cells are involved, you can even step through it and watch it work to find problems. How can I do this with the VBA Editor?

Ken
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
Did you mean (in VBE):

View > Locals window
View > Watch window
 
Upvote 0
I think so, I am having a few problems with code either not working on pages it was written for or copy and paste stuff but it is wrong stuff probably because somewhere in the code it is no moving to correct sheet but I am not sure and that is why I wanted to know if I open the watch window can you see where the code is, can you sort of step through it? If so how?

Ken
 
Upvote 0
Use F8 to step through the code. Use the suggested options, as well as hovering over the variables in the code line highlighted in yellow.
 
Upvote 0

Forum statistics

Threads
1,224,551
Messages
6,179,476
Members
452,915
Latest member
hannnahheileen

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top