Hi -
Regards,![]()
With outlookMail .to="theemailaddress" .htmlBody = htmlBody .attachments.Add ThisWorkbook.Path & "\" & oneSheet.Name & ".xlsx" .Display End With
Event
Hi -
Regards,![]()
With outlookMail .to="theemailaddress" .htmlBody = htmlBody .attachments.Add ThisWorkbook.Path & "\" & oneSheet.Name & ".xlsx" .Display End With
Event
I'm getting a run time error 9
Subscript out of range
Sheets(oneSheet.Name).Copy in this line.
Cant really figure out whats wrong
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks