coveredinbutter
New Member
- Joined
- Dec 20, 2021
- Messages
- 19
- Office Version
- 365
- Platform
- Windows
HI There,
I have some VBA code to grab an excel file and add it to a new e-mail:
This works as expected, opening a new message in outlook with an attachment named "WCC Chat - Full Time.xlsm".
I now have a second PC, and when I run the same macro the attachment is named "WCC%20Chat%20-%20Part%20Time.xlsm".
Since this is a new PC, I'm thinking it must a setting in Outlook that needs to be adjusted?
Any ideas?
Thanks in advance.
I have some VBA code to grab an excel file and add it to a new e-mail:
VBA Code:
.Attachments.Add varShifBiddingPath & "\Proxys" & "\" & varName1 & varName2 & ".xlsm"
This works as expected, opening a new message in outlook with an attachment named "WCC Chat - Full Time.xlsm".
I now have a second PC, and when I run the same macro the attachment is named "WCC%20Chat%20-%20Part%20Time.xlsm".
Since this is a new PC, I'm thinking it must a setting in Outlook that needs to be adjusted?
Any ideas?
Thanks in advance.