I have a simple little one-line macro — at least at the moment — to send a workbook.
[font=”Comic Sans MS”] ThisWorkbook.SendMail “RAJ7”, Range(“A1”).Value[/b]
However, it triggers a warning message from Outlook — “A program is trying to access e-mail addresses you have stored in Outlook Do you want to allow this?”
Is there a simple trick to bypassing this message, or to turn it off, send the workbook, and turn it on again?
I am wondering whether, if I used an address that was in the form “RAJ7@company.com” instead of just the first part, it would bypass Outlook’s warning.
Ann[/font]