ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Programmatic cancel of shortcut menu (https://www.excelbanter.com/excel-programming/340315-programmatic-cancel-shortcut-menu.html)

quartz[_2_]

Programmatic cancel of shortcut menu
 
I am using Office 2003 on Windows XP.

A custom shortcut menu is displayed with a single menu item on it.
After 10 seconds or so, I want to cancel this menu if the user has not
clicked it.
Please note, that I have the shortcut menu and the time delay worked out. I
just need code to cancel or click the menu.

How can I do this programmatically?

Thanks much in advance for your assistance.

Mel Arquiza

Programmatic cancel of shortcut menu
 
Hi quartz,

Have you try recording the macro that you are try to do? close open the menu?
Goto Tools, Macro, Record New Macro then Press Alt-F11 you will see a
module created see if that the code you are looking for. Hope this helps.

"quartz" wrote:

I am using Office 2003 on Windows XP.

A custom shortcut menu is displayed with a single menu item on it.
After 10 seconds or so, I want to cancel this menu if the user has not
clicked it.
Please note, that I have the shortcut menu and the time delay worked out. I
just need code to cancel or click the menu.

How can I do this programmatically?

Thanks much in advance for your assistance.



All times are GMT +1. The time now is 10:37 AM.

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