Hello. Could anyone out there help me with a basic problem. I normally program in C, with some knowledge and experience of VB, but have a need to develop some M$ Outlook functionality using an Outlook 2003 form that I have developed.
I have put a command button on the form but unlike Access where I go to the properties of the button to access the click event I see no event list. I have tried Tools|Macro|VBeditor and on finding no module there with a click event for the command button I have written a simple 1 line event handler which works when run from the editor:
Public Sub CommandButton2_Click()
MsgBox "Helo World"
End Sub
Can anyone tell me why clicking the command button doesn't run the code, why the event boilerplate wasn't added for me on adding the button, or even simply what I need to do to get at this buttons click event. I know it is a simple problem but feel this would be of interest to others.
Thanks in anticipation
flek0s
I have put a command button on the form but unlike Access where I go to the properties of the button to access the click event I see no event list. I have tried Tools|Macro|VBeditor and on finding no module there with a click event for the command button I have written a simple 1 line event handler which works when run from the editor:
Public Sub CommandButton2_Click()
MsgBox "Helo World"
End Sub
Can anyone tell me why clicking the command button doesn't run the code, why the event boilerplate wasn't added for me on adding the button, or even simply what I need to do to get at this buttons click event. I know it is a simple problem but feel this would be of interest to others.
Thanks in anticipation
flek0s