Hi all,
I have a macro that will open an email template that contains two images as attachments. when putting the images on my local drive the macro runs perfectly. I'm looking to add the images to a shared drive so multiple users can run the macro but when i try adding the new path i'm getting an error 'Cannot find this file. Verify the path and file name are correct'.
The path is "Y:\Folder1\image1.jpg"
Is it possible to reference the image1 if this is located in a shared drive? Below is how i have currently written this in excel
thanks in advanced
I have a macro that will open an email template that contains two images as attachments. when putting the images on my local drive the macro runs perfectly. I'm looking to add the images to a shared drive so multiple users can run the macro but when i try adding the new path i'm getting an error 'Cannot find this file. Verify the path and file name are correct'.
The path is "Y:\Folder1\image1.jpg"
Is it possible to reference the image1 if this is located in a shared drive? Below is how i have currently written this in excel
Code:
msg.attachments.Add "Y:\Folder1\image1.jpg"
thanks in advanced