Using Control Property On Action

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • GGerard

    #1

    Using Control Property On Action

    Hello

    How do I write the On Action property of a CommandBar Control
    to call a function that requires arguments?

    Ex: Function

    Public Sub MyFunction (strArg as String)
    msgbox strArg
    End Sub

    How would I call MyFunction in theOn Action property of a CommandBar Control
    so to include strArg?

    Thanks
    G.Gerard


Working...