Show/Hide Hidden Objects

M

Martin

Please forgive this if it is a repeat. I had an error come up when I posted
the first time, so I don't know if it went thru.

I am trying to use VBA to hide the objects in my database. Basically, I am
trying to automate the Tools/Options function of unchecking the Hidden
Objects checkbox on the View tab. I have tried various commands using the
DoCmd.RunCommand, but nothing seems to work.

Can someone offer some help? Thanks.
 
F

fredg

Please forgive this if it is a repeat. I had an error come up when I posted
the first time, so I don't know if it went thru.

I am trying to use VBA to hide the objects in my database. Basically, I am
trying to automate the Tools/Options function of unchecking the Hidden
Objects checkbox on the View tab. I have tried various commands using the
DoCmd.RunCommand, but nothing seems to work.

Can someone offer some help? Thanks.

Application.SetOption "Show Hidden Objects", True (or False)
 

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