• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 28. Handling Events with VBA 6.0 > Customizing Applications with Comman...

Customizing Applications with CommandBar Objects

Office 2003 applications use CommandBar objects to create menubars, pop-up menus, toolbar buttons, and toolbar combo boxes. To gain VBA programming access to CommandBar objects, your database must include a reference to the Microsoft Office 11.0 Object Library, Mso11.dll. Northwind.mdb includes a reference to Mso11.dll. If it’s missing from your VBA project, choose Tools, References, scroll to the Microsoft Office 11.0 Object Library entry, and mark the check box (see Figure 28.20).

Figure 28.20. Add a reference to Mso11.dll to enable use of the CommandBar object in your VBA project.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint