-
I am trying to run a procedure from a button on the toolbar passing a parameter to it. Here is a snippet:
[VBA]
' Create a button with an image on the bar and set some
' properties.
Set CBarCtl = CBar.Controls.Add(Type:=msoControlButton)
With CBarCtl
.FaceId = 1000
.Caption = "FormName"
.ToolTipText = "Open FormName"
.OnAction = "CommonOpenForm"
.Parameter = "FormName"
End With
[/VBA]
How does the CommonOpenForm procedure use the parameter?
Regards
Last edited by xCav8r; 09-28-2005 at 03:39 PM.
Reason: added VBA tags
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules