Toolbar Errors

B

BrerGoose

The statements below work fine in Access 2000 to 2003, but not in 2007. Were
these statements removed ? Does any application which references toolbars
have to be rewritten ? What is the solution ? Thank you.



DoCmd.ShowToolbar "Page View", acToolbarNo
Application.CommandBars("File").Controls("Exit").Enabled = False



BrerGoose
 
B

BrerGoose

What about CommandBars objects ?

DoCmd.ShowToolbar "Page View", acToolbarNo
Application.CommandBars("File").Controls("Exit").Enabled = False

BrerGoose
 
Top