I have a small vba procedure that imports data from a text file and then mails the excel woorkbook using the ActiveWorkbook.SendMail Recipients:="" command. This works fine when MS Outlook is open. If Outlook is closed (which it will be when I'm not in th office), excel pops up a message box asking me to choose a profile. If I hit OK the email goes on its merry way.
So the question is, does anyone know how to programatically set the profile so the message box does not appear & the email mails?
TIA
longhair
So the question is, does anyone know how to programatically set the profile so the message box does not appear & the email mails?
TIA
longhair