adrianscotter
Registered old fart!
- Local time
- Today, 13:35
- Joined
- Jul 7, 2014
- Messages
- 124
Hi guys
I'm still learning and I'm stuck! (Office Professional 2010, Windows 7 x64)
I can already send emails out as PDF files when an email address exists, however, I'm trying to validate whether or not an email address does actually exist. My problem is, there are four possible locations where an email address could be: MainEmail or Contact1Email or Contact2Email or Email (the last one - Email - is in a separate table). Four text boxes exist on the form that is being actioned (the form is based on a query to extract the relevant information) and are available to test for an email address being present. What I'm struggling with is ensuring that the 'To' box in Outlook always gets populated or Outlook chucks a hissy fit. I have been banging my head on my desk for more than 2 hours trying various IF Then Else and Do Loop plus a myriad of other ways but none are reliable, especially if no email address is present which can be the case.
Anyone? I would be most grateful for a prod in the right direction.
Thank you in advance.:banghead:
I'm still learning and I'm stuck! (Office Professional 2010, Windows 7 x64)
I can already send emails out as PDF files when an email address exists, however, I'm trying to validate whether or not an email address does actually exist. My problem is, there are four possible locations where an email address could be: MainEmail or Contact1Email or Contact2Email or Email (the last one - Email - is in a separate table). Four text boxes exist on the form that is being actioned (the form is based on a query to extract the relevant information) and are available to test for an email address being present. What I'm struggling with is ensuring that the 'To' box in Outlook always gets populated or Outlook chucks a hissy fit. I have been banging my head on my desk for more than 2 hours trying various IF Then Else and Do Loop plus a myriad of other ways but none are reliable, especially if no email address is present which can be the case.
Anyone? I would be most grateful for a prod in the right direction.
Thank you in advance.:banghead: