Jyggalag
Active Member
- Joined
- Mar 8, 2021
- Messages
- 445
- Office Version
- 365
- 2019
- Platform
- Windows
Dear all,
I am trying to run a macro that sends out emails, however when I try to run it I keep getting this error unfortunately:
Can somebody please help me figure out why? I have tried setting source = ThisWorkbook.FullName (takes the current excel file I am typing in as an attachment) before and then typing EmailItem.Attachments.Add Source with no issues.
For some reason this gives me an error now with the debug highlighting EmailItem.Attachments.Add Source
Can somebody figure out why?
Would be immensely greatful!
Kind regards
Jyggalag
I am trying to run a macro that sends out emails, however when I try to run it I keep getting this error unfortunately:
Can somebody please help me figure out why? I have tried setting source = ThisWorkbook.FullName (takes the current excel file I am typing in as an attachment) before and then typing EmailItem.Attachments.Add Source with no issues.
For some reason this gives me an error now with the debug highlighting EmailItem.Attachments.Add Source
Can somebody figure out why?
Would be immensely greatful!
Kind regards
Jyggalag