Display Locals Window on mac

sdb

New Member
Joined
Feb 3, 2009
Messages
4
Hi, I can't for the life of me find the locals window to debug my code. I'm running excel 2004 for mac. There is no 'Locals window' in the View menu, or any other menu for that matter. :confused:
Thanks for the help,
Simon

EDIT: this could be clearer. I'm already in the VBA editor, have set breakpoints etc... and am now trying to step through the code to figure out why it doesn't return the value I'm expecting. So what i want to see is the window (called Locals Window on PC) that shows the current values of the variables. -insert hair pulling emoticon here-
 
Last edited:

Some videos you may like

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

sdb

New Member
Joined
Feb 3, 2009
Messages
4
Ok, i appear to have the answer for my own question.

There seems to be no equivalent of the Locals Window on mac. However for those who are interested, you can use the immediate window as a stand in. Set a breakpoint and when the program gets there type 'print "yourVarName"' in the immediate window. It's not pretty but it works.

Simon
 

Watch MrExcel Video

Forum statistics

Threads
1,123,085
Messages
5,599,650
Members
414,325
Latest member
kfg1287

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
Top