View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Michel Pierron Michel Pierron is offline
external usenet poster
 
Posts: 214
Default passing parameters to OnAction

Hi Joe,
double quote and simple quote and Sub Name and 3 x double quote & Parameter
& 3 x double quote and simple quote and double quote
Example: .OnAction = "'MySub """ & Parameter & """'"
Regards,
MP

"Joe" a écrit dans le message de
...
I am using Xl 2002. Is it possible to pass a parameter to the Sub

referenced
in the OnAction property (i.e. OnAction="processMe(Argument1)"?

TIA,
--
Joe

VBA Automation/VB/C++/Web and DB development