ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   OnAction Variables (https://www.excelbanter.com/excel-programming/307671-onaction-variables.html)

Howiee22

OnAction Variables
 
I am creating menu items and for the .onaction event, I want to call a sub
that takes a variableIs this do able?

Tom Ogilvy

OnAction Variables
 
Better to set the parameter property of the control and then examine that
with

Application.ActionControl.Parameter

in the macro.

there is a way to do it, but it was never documented behavior and my
understanding is it isn't supported in the lastest service pack of xl2000
and later versions of Excel.

--
Regards,
Tom Ogilvy

"Howiee22" wrote in message
...
I am creating menu items and for the .onaction event, I want to call a sub
that takes a variableIs this do able?





All times are GMT +1. The time now is 12:37 PM.

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