J
John
Hello,
I have created an Outlook form, with a command button called cmdSend.
I have also created a sub as below
Sub cmdSend_click
msgbox "sent"
End Sub
I just can't figure out how to bind the code to the button. Where
should the code go?
At the moment it is in "ThisOutlookSession" "Application", but this
can't be right as it doesn't run when clicked.
I haven't used Outlook before. In other office apps there is an
option to assign a macro to a control, but I can't find anything like
that here.
Can anyone explain?
Any help would be very much appreciated.
Many thanks
John
I have created an Outlook form, with a command button called cmdSend.
I have also created a sub as below
Sub cmdSend_click
msgbox "sent"
End Sub
I just can't figure out how to bind the code to the button. Where
should the code go?
At the moment it is in "ThisOutlookSession" "Application", but this
can't be right as it doesn't run when clicked.
I haven't used Outlook before. In other office apps there is an
option to assign a macro to a control, but I can't find anything like
that here.
Can anyone explain?
Any help would be very much appreciated.
Many thanks
John