Forum Home
Press F1
 
Thread ID: 107173 2010-02-07 06:13:00 microsoft word 2007 statusbar Kazablanka (15615) Press F1
Post ID Timestamp Content User
856002 2010-02-07 06:13:00 The StatusBar dissappears when I open some documents. This seems to be intermittent. (I can open the same document at different times, and sometimes the StatusBar will display, and other times it will not.)

Is this a fault in Word or could it be a VBA setting? (I have a lot of VBA code that I imported from Word 2000 and 2003.)

If it is a VBA setting, how do I control the appearance of the StatusBar from within VBA?

Grateful for any help or ideas.
Kazablanka (15615)
856003 2010-02-07 12:25:00 support.microsoft.com

Specifically, look at the section entitled "Start Word Without Running Macros".

Cheers :)
Renmoo (66)
856004 2010-02-08 11:38:00 Many thanks

I traced the problem to a section of my VBA code that controls the appearance of different Toolbars at various times in response to different circumstances. In Word 2007, it seems that the StatusBar is treated as a Toolbar, and my code was switching the StatusBar off.

Interestingly, the documentation on Word 2007 that I checked while trying to sort this out states that users have now lost the ability to turn the StatusBar on or off (i.e. it is on all of the time). However, although there is no interface option to turn it off, I have found that the following VBA code will turn it on or off:

CommandBars("Status Bar").Visible = True
or
CommandBars("Status Bar").Visible = False

Cheers
Kazablanka (15615)
1