A
andy
I have an Excel form on our Intranet, and have coded a
command button using the following method
Private Sub btnSubmitForm_Click()
ActiveWorkbook.SendMail ("(e-mail address removed)")
End Sub
which works well, however, a MS Outlook dialog box is
evoked which displays the following "A program is trying
to automatically send e-mail on your behalf. Do you want
to allow this?..." and Yes/No/Help command buttons are
displayed.
How can I bypass this dialog box so that the user doesn't
need to click yes. Can this be turned off, or the answer
be programatically set to "Yes"???
Thank you in advance for your help
God bless you
command button using the following method
Private Sub btnSubmitForm_Click()
ActiveWorkbook.SendMail ("(e-mail address removed)")
End Sub
which works well, however, a MS Outlook dialog box is
evoked which displays the following "A program is trying
to automatically send e-mail on your behalf. Do you want
to allow this?..." and Yes/No/Help command buttons are
displayed.
How can I bypass this dialog box so that the user doesn't
need to click yes. Can this be turned off, or the answer
be programatically set to "Yes"???
Thank you in advance for your help
God bless you