Collapsing All groups in the Navigation Pane

K

KarenW

Does anyone know how to "Collapse All" with code, after doing a
docmd.navigateto "category name" ?

I have set up a customized Category display on the Navigation Pane.
I put a button on my form to show/hide the navigation pane, but when
it 'shows' the groups within the category, it displays the state at which
it was last viewed.
I would like it to show the groups all collapsed. This is an option when
you right click
on one of the groups, so I think it should also be possible to do within the
VBA code.
is it possible??
thanks alot -- Karen
 
D

David C. Holley

I've had to migrate to 2007 and I thoroughly detest that damned Navigation
Panel almost as must as the Ribbon. Fortunately, the existing app uses a
main form with a list box for navigation. Can't tell you how I did it but I
figured out how to keep the users out of it entirely.
 
K

KarenW

Yes-- it seems to take alot more effort to work with both the navigation pane
and the ribbon, 2 things that were supposed to make life easier for a user.
I put a couple of buttons on my form with Click events that let users shrink
and expand these things:
Private Sub ShowHideRibbon_Click()
SendKeys "^{F1}"
End Sub

Private Sub ShrinkNav_Click()
SendKeys "{F11}"
End Sub
 

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