Show/Hide Hidden Objects

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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.
 
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)
 
Thank you. I guess I was heading in the wrong direction with the RunCommand
idea.
 

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

Back
Top