Access Europe – Mike Wolfe (Building Ribbon Interfaces in Code)
Outline
It’s hard to believe the Ribbon replaced command bars in Microsoft Office more than 15 years ago. The ribbon allows you to build dynamic, responsive, and context-sensitive user interfaces. But with that power comes great responsibility complexity. Even after a decade and a half, Microsoft still has not provided a built-in tool for creating and editing custom ribbons.
In this talk, I’ll demonstrate a VBA-based solution to create custom ribbons. All the complexity is encapsulated in two modules that I will provide. These modules will let you build a full-featured custom ribbon with only a single line of code per ribbon button.
Here are some of the topics we’ll cover:
- Using code to generate valid ribbon XML
- How to load a custom ribbon at startup
- Using built-in images for buttons
- Using custom images for buttons (and a great resource for finding professional button images)
- Creating several types of ribbon controls:
- Buttons
- Dropdowns
- ComboBoxes
- Gallery controls
- Making ribbon buttons enabled/disabled or visible/invisible based on the current user
- Calling custom functions from the ribbon
Bio
Mike runs Grandjean & Braverman, Inc., specializing in Microsoft Access and SQL Server software solutions for government, banking, and insurance clients. He writes daily articles about advanced Access and VBA topics at nolongerset.com, where he’s published over 600 articles since 2020. Mike earned the Access MVP award in November 2021.
======================================================================
IMPORTANT NOTE:
All sessions will be recorded and later uploaded to the AccessUserGroups channel on YouTube: AccessUserGroups.org – YouTube.
If you do not wish to be part of the recording, please ensure your webcam and microphone are both switched off.
======================================================================
We are planning to try out Zoom as our meeting application.
Please click the link below to download Zoom, if you don’t already have it.
Get Zoom
To join our meetings, please use the following link or phone number
Join Zoom Meeting
If you are asked:
Meeting ID: 924 3129 5683
Passcode: 661210
Dial by your location:
+1 669 900 9128 US (San Jose)
+1 253 215 8782 US (Tacoma)
+1 301 715 8592 US (Washington DC)
+1 312 626 6799 US (Chicago)
+1 346 248 7799 US (Houston)
+1 646 558 8656 US (New York)
+43 12 535 502 Austria
+32 1579 5132 Belgium
+359 3 257 1633 Bulgaria
+385 1300 0988 Croatia
+420 5 3889 0161 Czech Republic
+45 32 70 12 06 Denmark
+358 9 7252 2471 Finland
+33 1 7037 9729 France
+49 69 7104 9922 Germany
+30 211 198 4488 Greece
+36 1 779 9126 Hungary
+353 1 653 3898 Ireland
+39 069 480 6488 Italy
+352 2786 4277 Luxembourg
+356 2778 1288 Malta
+31 20 241 0288 Netherlands
+48 22 307 3488 Poland
+351 308 810 988 Portugal
+40 31 630 1088 Romania
+421 233 418 515 Slovakia
+386 1600 3102 Slovenia
+34 917 873 431 Spain
+41 43 210 71 08 Switzerland
+46 850 539 728 Sweden
+44 203 481 5240 United Kingdom
+44 208 080 6591 United Kingdom
Meeting ID: 924 3129 5683
Passcode: 661210
Find your local number: https://zoom.us/u/a4d0JdR88