Hi all,
This should be easy as pie, but for some reason it's a nightmare (to me, anyway)
Example: I asked how to use VBA to activate the Lasso Select... The answer was:
Call CommandBars("Drawing").Controls("Select Objects").Execute
Simple enough... but NOT SO FAST.
The Ribbon does NOT have a "Drawing" tab! It has a "Draw" tab. And if you call it "Draw" instead of "Drawing", the code fails.
What this seems to mean is this: The ribbon has "secret" names for everything... so you can't code any interaction with the ribbon unless you know all of the secret names. Now that is frustration set to 11. Why this would be the case is beyond my comprehension.
Does anyone have a secret decoder wheel where the VBA names are listed for all of the various ribbon items (under their "plain" names?)
Is there a good place to find a comprehensive "VBA interaction with the ribbon" article?
Everything I found was about changing the ribbon, or adding items which I specifically want to avoid like the plague.
Just manage the standard ribbon... all items, every tab.
Thank you so very much for your kind help.
R
Bookmarks