Re: Hide Ribbon in Access 2007
- From: "Terry" <newsgrps@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 18 Sep 2008 08:39:02 +0100
Have a look at my post and thread (dated 02/09/08) in
microsoft.public.access.commandbarsui for a possible answer to your problem.
You may need to do version checking regarding Access 2k3 or 2k7.
Regards
"sherwinb" <sherwinb@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:3AEC24B8-D3FC-406A-A4F8-0F7BED98B753@xxxxxxxxxxxxxxxx
Hi,
I used the following code successfully in Access 2003 to hide the menu bar
on a form's OnLoad property:
Dim i As Integer
For i = 1 To CommandBars.Count
CommandBars(i).Enabled = False
Next i
What code should I use to hide the ribbon in Access 2007 and can I combine
the code so that the ribbon or menu bar is hidden depending on if the user
has Access 2003 or 2007?
Thanks
.
- Prev by Date: Re: Preventing Duplicates from being entered
- Next by Date: Close an access application
- Previous by thread: syntax for vertical alignment of a label
- Next by thread: Close an access application
- Index(es):
Relevant Pages
|