ACC2000: How to Remove the Menu Bar from a Form (209530)



The information in this article applies to:

  • Microsoft Access 2000

This article was previously published under Q209530
Novice: Requires knowledge of the user interface on single-user computers.

This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).

SUMMARY

This article describes a simple way to remove the menu bar from a form.

To remove the menu bar, type =1 (or any Visual Basic function that evaluates to a numeric result) in the MenuBar property of the form.

MORE INFORMATION

Entering =1 causes Microsoft Access to evaluate the property. Because there is nothing to place in the menu bar, the menu bar is not displayed.

To remove a menu bar, follow these steps:
  1. Open the form for which you want to remove a menu bar, and on the View menu, click Design View.
  2. If the property sheet is not already visible, click Properties on the View menu.
  3. In the property sheet of the form, click the Other tab.
  4. In the MenuBar property box, type =1.
  5. On the View menu, click Form View.
Note that the menu bar is not present.

Modification Type:MajorLast Reviewed:6/24/2004
Keywords:kbhowto kbinfo KB209530