Hi there,
I need some help with a VBA code and was wondering if anyone could help.
I needed a VBA code to email a single excel sheet from a workbook and found the code below. The problem is that when the file gets emailed to the recipient, the file name says 'TestFileScottNew.xlsm.xlsm'. In other words, the 'xlsm' part gets duplicated in the attachment and I want to prevent this from happening. I was wondering if anyone could help and let me know how to remove one of the xlsm's in the file name? (if you have a better code to help me achieve my aim then feel free to suggest it!)
Here is the code:
Any help appreciated!![]()
Please Login or Register to view this content.
![]()
Bookmarks