Actually, none of that worked very well. But I fixed the problem by doing like the following:
Dim strEmail As String
Dim strBody As String
.....................
Email.setfocus
strEmail = Email.Text
Body.setfocus
strBody = Body.Text
etc.
Thanks for your help. As you can tell, I'm...
That is the weird part, no part of the code was highlighted. It just says "object required" with no explanation. How can I check for a bad Outlook reference? Here is the code I used:
Private Sub CmdEmail_Click()
On Error GoTo Err_CmdEmail_Click
'******begin code******
Dim Email...
Hey, I just added all the code to my database, but after I clicked the button to send, an Microsoft Access message box poped up saying "Object Required." I used the code given by nathan, and I know outlook is referenced. Any help would be much appreciated!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.