I have put together the below code to email a document out. ******@******.com represents my email address.
The code works well, in that it creates a PDF, emails it to me then deletes the pdf. The problem is the PDF is of the excel worksheet not the User form I created.
What can I change...