Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Excel 2019 Power Programming with VBA

You're reading from   Excel 2019 Power Programming with VBA Maximize your Excel experience with VBA

Arrow left icon
Product type Paperback
Published in Jun 2019
Publisher Wiley
ISBN-13 9781119514923
Length 784 pages
Edition 1st Edition
Tools
Arrow right icon
Authors (2):
Arrow left icon
Michael Alexander Michael Alexander
Author Profile Icon Michael Alexander
Michael Alexander
Dick Kusleika Dick Kusleika
Author Profile Icon Dick Kusleika
Dick Kusleika
Arrow right icon
View More author details
Toc

CHAPTER 18
Working with Shortcut Menus

CommandBar Overview

A CommandBar object is used for three Excel user interface elements.

  • Custom toolbars
  • Custom menus
  • Customs shortcut (right-click) menus

When you write VBA code to customize a menu or a toolbar, Excel intercepts that code and ignores many of your commands. Menu and toolbar customizations performed with the CommandBar object appear in the Add-Ins ➪ Menu Commands group or the Add-Ins ➪ Custom Toolbars group. So, for all practical purposes, the CommandBar object in Excel is now limited to shortcut menu operations.

In this section, we provide some background information about CommandBar objects.

CommandBar types

Excel supports three types of CommandBar objects, differentiated by their Type property. The Type property can be any of these...

lock icon The rest of the chapter is locked
Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 9,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Excel 2019 Power Programming with VBA
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime
Visually different images
Modal Close icon
Modal Close icon