Controlling ribbon group visibility on document open

N

Neil Humphries

I have two custom menu groups on a custom tab. One group is for users. The
other is for administrators. In my AutoOpen routine I want to control the
visibility of the admin group. I did this with commandbars using:

Sub autoopen()
InsertUserToolBar
If fAdminUser Then
InsertAdminToolBar
End If
Application.ActiveDocument.Activate
Application.ScreenRefresh
Main
End Sub

I have not been successful in do this with the ribbon menu. Can someone
point me in the right direction?
 

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