I am currently using the macro to email a query. The query name is qryCAO so it puts the file name qryCAO.xlsx in the mail message.
I have a need to rename the file to include todays date. So it would pull up the outlook mail message with the excel file attached that is named "Computer Cost Add-on_20130111"
I have searched and can come up with the code to produce the email but have no idea how to rename.
I have a need to rename the file to include todays date. So it would pull up the outlook mail message with the excel file attached that is named "Computer Cost Add-on_20130111"
I have searched and can come up with the code to produce the email but have no idea how to rename.