Skip to Content
Access™ 2007 VBA Programmer's Reference
book

Access™ 2007 VBA Programmer's Reference

by Teresa Hennig, Rob Cooper, Geoffrey Griffith, Armen Stein
May 2007
Intermediate to advanced
1152 pages
30h 53m
English
Wrox
Content preview from Access™ 2007 VBA Programmer's Reference

12.9. Customizing the Quick Access Toolbar

The Quick Access Toolbar, or QAT, is the small group of controls that appears next to the Office button. You can also use this space to add buttons to your application. The QAT provides fast access to those controls that are used most frequently. Add controls to the QAT for your application by adding the qat node as a child of the Ribbon node.

The following XML adds a button to the QAT. The documentControls node adds controls only for the current database.

<qat>
    <documentControls>
        <button id="btnHello" onAction="=MsgBox('Hello!')"/>
    </documentControls>
</qat>
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Excel® 2007 VBA Programmer's Reference

Excel® 2007 VBA Programmer's Reference

John Green, Stephen Bullen, Rob Bovey, Michael Alexander
Access 2003 VBA Programmer's Reference

Access 2003 VBA Programmer's Reference

Patricia Cardoza, Teresa Hennig, Graham Seach, Armen Stein
Microsoft® Access® 2010 Programmer's Reference

Microsoft® Access® 2010 Programmer's Reference

Teresa Hennig, Rob Cooper, Geoffrey L. Griffith, Jerry Dennison

Publisher Resources

ISBN: 9780470047033Purchase book