I am trying to pass multiple variables to a .OnAction call for a button. I have not been able to find answers that relate to multiple variables, and I can do it with just one variable. Here is what I have that works for one variable:
shpBar.OnAction = "'Button_Click """ & strText & """'"
How can I add two other variables to this (such as VarA and VarB)?
Assuming that VarA and VarB are variants or numeric variables, this would work:
If they are strings, you need to add two more double-quotes around each variable name.