R
Robert_L_Ross
I can't get the CommandBars .visible to work. I recorded a macro while I
closed the Menu Bar, and it returned the following:
CommandBars("Menu Bar").Visible = False
msg = MsgBox("Menu Bar Hidden", vbOKOnly, "Test")
CommandBars("Menu Bar").Visible = True
When I try to play this macro back, I get an error:
Run-time error '-2147467259 (80004005)':
Method 'Visible' of object 'CommandBar' failed
Any ideas?
closed the Menu Bar, and it returned the following:
CommandBars("Menu Bar").Visible = False
msg = MsgBox("Menu Bar Hidden", vbOKOnly, "Test")
CommandBars("Menu Bar").Visible = True
When I try to play this macro back, I get an error:
Run-time error '-2147467259 (80004005)':
Method 'Visible' of object 'CommandBar' failed
Any ideas?