Watch All

Carly

Active Member
Joined
Aug 21, 2002
Messages
370
Hi,

I am just been lazy, I know, but is there a way you can 'Watch' all variables without having to stipulate all of them one by one?
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
I have the following section of code and I'd like to watch all of the variables individually:

Code:
Global v1stCell, v2ndCell, v3rdCell, v4thCell, v5thCell, v6thCell, v7thCell, v8thCell, v9thCell, v10thCell, v11thCell, vNB1stCell, _
    v1stCol, v2ndCol, v3rdCol, v4thCol, vCurrent, vYear As Variant
 
Upvote 0
Carly

You can use the Locals window to watch all the variables in the current sub.

Other than that your kind of stuck with dragging as Charles... suggested.
 
Upvote 0
Carly

The will all appear in the Local Window.

Probably because their scope extends to all subs and modules.
 
Upvote 0
Thank you very much, I never knew about the Locals Window (Every day's a school day), If I switch between the Call Stacks when it goes into the new module, it does show me the variables from the previous ones.

Thanks again.
 
Upvote 0

Forum statistics

Threads
1,224,597
Messages
6,179,808
Members
452,944
Latest member
2558216095

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