Creating a Menu Bar

J

John C.

I am using Access 2002. I am attempting to create my
first menu bar. I have retrieved an example given in
article 306369 in the knowledge base. I copied the code,
and it hangs up on the "Dim MBar As CommandBar" statement.

I have ensured Microsoft Access 10.0 Object Library is
selected.

Any ideas?
 
M

Marshall Barton

John said:
I am using Access 2002. I am attempting to create my
first menu bar. I have retrieved an example given in
article 306369 in the knowledge base. I copied the code,
and it hangs up on the "Dim MBar As CommandBar" statement.

I have ensured Microsoft Access 10.0 Object Library is
selected.


I always thought CommandBar is an Office object.
 
Top