R
RogerC
I am using the following code to send my form when the user clicks on a button. When the user clicks on the button, the form sends itself but then it remains open. The user has to close the form using the close button at the top of the form and also answer a 'Would you like to save changes?' dialog. Can anyone help me modify the code so that the form closes automatically after sending itself? Thanks!
Sub CommandButton1_Click()
Set myForward = Item.Forward
myForward.Recipients.Add "EmailAddyHere"
myForward.send
end Sub
Sub CommandButton1_Click()
Set myForward = Item.Forward
myForward.Recipients.Add "EmailAddyHere"
myForward.send
end Sub