I have an Excel spreadsheet containing a command button with the following syntax-
Application.Dialogs(xlDialogSendMail).Show
This code creates a blank e-mail and attaches the excel file. Cell A1 in my spreadsheet contains the email address of the recipient. Is there a way to automatically populate the 'To' field in the e-mail with this data?
Application.Dialogs(xlDialogSendMail).Show
This code creates a blank e-mail and attaches the excel file. Cell A1 in my spreadsheet contains the email address of the recipient. Is there a way to automatically populate the 'To' field in the e-mail with this data?