2 Attachment(s)
Start a macro with a button in outlook userdefined contact form
I have a user defined form in Outlook 2019
I have created a button and want to know how I can start a macro by pressing this button in the form?
The code for the button is in the Outlook forms VBScript editor!
Attachment 27408
http://www.vbaexpress.com/forum/imag...AASUVORK5CYII=
Code:
Sub CommandButton4_Click()
CODE NEEDED!
End Sub
The macro is in module 2. Name:
Public Sub AddNote()
It sets the cursor at the end of the body of the contact form:
If I get help here:
http://www.vbaexpress.com/forum/show...k-contact-body
Do I need some more libraries to get this work?
Attachment 27409