VB Settings - Need answer ASAP

K

klav

While stepping through a macro in the VB editor in Word 2007, I want to be
able to see the value of a variable when I hover my cursor over it. Is there
some setting that controls this feature?
 
J

Jay Freedman

klav said:
While stepping through a macro in the VB editor in Word 2007, I want
to be able to see the value of a variable when I hover my cursor over
it. Is there some setting that controls this feature?

No, that's simply the standard behavior of the VBA editor, which hasn't
changed in many versions. However, there are some kinds of variables (mostly
objects rather than single-valued variables) that don't show a value on
hovering.

If you don't see a value for a variable you're interested in, try displaying
either the Locals pane or the Watch pane, both available from the View menu
of the editor. "Add to Watch" is also on the right-click context menu.

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
K

klav

Thanks for the quick response.

I actually already had this set but it still wasn't working....I ended up
rebooting my PC and it now works OK.
 
T

Tony Jollans

It is a default setting and it does occasionally seem to get lost or work
intermittently but always comes back on a restart. Glad it's working again
for you.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top