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

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

Customizing Applications with CommandBar Objects

Office XP 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 10.0 Object Library, Mso10.dll. Northwind.mdb includes a reference to Mso10.dll. If it's missing from your VBA project, choose Tools, References, scroll to the Microsoft Office 10.0 Object Library entry, and mark the check box (see Figure 29.20).

Figure 29.20. If it's missing from your VBA project, add a reference to Mso10.dll to enable use of the CommandBars object.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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