I have vba code to send excel range as an images using Ms outlook.
The image is saved in User/Temp folder, but the image is not deleted after sending mail.
if you see the last lines of the code, there is no code to delete the file.
excel is not overwritting the image file, instead its sending the same file which was saved earlier.
In short, I want the image file to be deleted from temp folder, so that for next time, a fresh image will be generated and sent via email
Sample attached.
The image is saved in User/Temp folder, but the image is not deleted after sending mail.
if you see the last lines of the code, there is no code to delete the file.
excel is not overwritting the image file, instead its sending the same file which was saved earlier.
In short, I want the image file to be deleted from temp folder, so that for next time, a fresh image will be generated and sent via email
Sample attached.