ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   COMMANDBAR MANIPULATION.... (https://www.excelbanter.com/excel-programming/366034-commandbar-manipulation.html)

WhytheQ

COMMANDBAR MANIPULATION....
 
Here's a little teaser. I want a button to go straight to a small
submenu.

If I go EDITGO TO...SPECIAL... a small menu appears (the one with
'blanks':'current array'etc)
How can I get a hook on this menu?

I suspect it'll be something like:
Application.CommandBars("??").Visible = True

or maybe something like:
myCustomMenu.Controls.Add(msoControlButton, 226)


Any help greatly appreciated,
Jason.


Norman Jones

COMMANDBAR MANIPULATION....
 
Hi Jason,

Try:

Application.Dialogs(xlDialogSelectSpecial).Show


---
Regards,
Norman


"WhytheQ" wrote in message
oups.com...
Here's a little teaser. I want a button to go straight to a small
submenu.

If I go EDITGO TO...SPECIAL... a small menu appears (the one with
'blanks':'current array'etc)
How can I get a hook on this menu?

I suspect it'll be something like:
Application.CommandBars("??").Visible = True

or maybe something like:
myCustomMenu.Controls.Add(msoControlButton, 226)


Any help greatly appreciated,
Jason.




WhytheQ

COMMANDBAR MANIPULATION....
 
as per usual: spot on advice Norman!
Jason




Norman Jones wrote:
Hi Jason,

Try:

Application.Dialogs(xlDialogSelectSpecial).Show


---
Regards,
Norman


"WhytheQ" wrote in message
oups.com...
Here's a little teaser. I want a button to go straight to a small
submenu.

If I go EDITGO TO...SPECIAL... a small menu appears (the one with
'blanks':'current array'etc)
How can I get a hook on this menu?

I suspect it'll be something like:
Application.CommandBars("??").Visible = True

or maybe something like:
myCustomMenu.Controls.Add(msoControlButton, 226)


Any help greatly appreciated,
Jason.




All times are GMT +1. The time now is 01:54 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com