Hello,
I'm Checco from Italy,
I'm sorry for my "terrible" english, I hope you understand me!!!
This is my code to generate an Outlook email with an attachement file.
I'd like to rename this file, but not the original file name in my coputer, I want to rename only the attachements file,
is it possible?
Set objOutlook = CreateObject("Outlook.Application")
Set objOutlookMsg = objOutlook.CreateItem(0)
With objOutlookMsg
....
....
....
frmSavePath = "xxx.txt"
Set objOutlookAttach = .Attachments.Add(frmSavePath)
End With
Thank you,
Checco.