Results 1 to 3 of 3

Thread: menu bar

  1. #1
    Join Date
    Sep 2007
    Posts
    19

    Unanswered: menu bar

    in my access 2003 the principal menu is not more visible.

    I have used the command:
    CommandBars ("Menu Bar"). Visible = True
    but it doesn't make to appear the menů.

    What can I do?
    Attached Files Attached Files

  2. #2
    Join Date
    Dec 2004
    Location
    Madison, WI
    Posts
    3,926
    Look at Tools -> Customize to show/hide/set properties for toolbars/menus (which I think your kind of blurry pdf is showing). Click the Properties button and see if you can check the configuration which might be set to not allow showing/hiding customizations.

    Here's some code I saw once (can't remember who posted it though) on commandbars:
    Dim cbar As Object

    ' /// Show or kill the menus (will error so need the resume next)
    On Error Resume Next
    For Each cbar In Application.CommandBars
    cbar.Visible = True (to set the menus visible)
    cbar.Visible = False (to set the menus invisible)
    Next
    Set cbar = Nothing

    ' /// standard error handling
    On Error GoTo err_Form_Load

    Hope it helps. If not, can you see the menu bar when you create a new mdb? If not, I'm guessing it could possibly be an option setting. If so, try importing the Menus from the new mdb to the mdb you're having a problem with.
    Last edited by pkstormy; 03-01-08 at 21:21.
    Expert Database Programming
    MSAccess since 1.0, SQL Server since 6.5, Visual Basic (5.0, 6.0)

  3. #3
    Join Date
    Oct 2002
    Location
    Baghdad, Iraq
    Posts
    697
    Quote Originally Posted by danit58
    in my access 2003 the principal menu is not more visible.

    I have used the command:
    CommandBars ("Menu Bar"). Visible = True
    but it doesn't make to appear the menů.

    What can I do?
    Are you sure you (or a cheeky coworker) didn't just move it somewhere wierd or delete all the menus? Office's code for handling the toolbars (and why they decided the menubar is a toolbar is utterly beyond me) is pretty horribly broken.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •