Changes to some VBA

Comfy

Well-known Member
Joined
Dec 21, 2009
Messages
3,386
Good Morning,

I've been tasked with updating and changing a Budget Upload workbook.

I'm just stepping through the code to understand how it works and a question has arisen.

When this wb was written the Public Objects were declared in their own module so when I do step through the code I cannot see each Objects Value in the Locals window.

Is there anywhere that I can see all defined Objects and their Values?

Thanks,
/Comfy
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Can you add a watch? This will show the variable or object property you specify in a separate window below the code. It certainly works for local values, it should work for public globals as well.
 
Upvote 0
Ahh so that's what that's for.

Thanks Obiron.

Out of curiosity, will the watches save with the VB session or will I need to add them again if I close the wb?

/Comfy
 
Upvote 0
you will have to add them again.

You can also add watches in the worksheet to monitor when cell values change. in XL2003 go tools->formula auditing->show watch window. These watches ARE saved with the workbook.

Obiron
 
Upvote 0

Forum statistics

Threads
1,224,595
Messages
6,179,798
Members
452,943
Latest member
Newbie4296

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