Hiding Navigation Pane

J

JamesJ

I'm trying to hide the Navigation Pane when a form opens then restore it
when the form closes. I RunCode from the Autoexec Macro:

DoCmd.SelectObject acMacro, "Autoexec", True
DoCmd.RunCommand acCmdWindowHide
Call OpenForm("frmHome")

The Nav Pane hides but when I run the following in the OnClose of frmHome I
get an error:

DoCmd.SelectObject acMacro, "Autoexec", True
DoCmd.Restore

Error: ....Object or Class does not support the set of events.

Any way to restore the Nave Pane here??

Thanks,
James
 

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