Tablecloth98
New Member
- Joined
- Nov 15, 2023
- Messages
- 24
- Office Version
- 2021
- Platform
- Windows
I'm trying to add an image into an email in vba. I've inserted the image into a sheet as I couldn't get the file location method to work.
Here's my code for the relevant section in the email body:
EmailBody = HelperSheet.Shapes.Range(Array("Picture 2"))
It's highlighting the whole row and saying Object required but I'm not sure what exactly it means (I'm really new to excel).
Does anybody know what I'm doing wrong?
Here's my code for the relevant section in the email body:
EmailBody = HelperSheet.Shapes.Range(Array("Picture 2"))
It's highlighting the whole row and saying Object required but I'm not sure what exactly it means (I'm really new to excel).
Does anybody know what I'm doing wrong?