Hi,
I have a worksheet which represents an invoice. I wish to save the invoice as a PDF file and then email to a specified address depending on who the invoice is for (the email address should be retrieved from the worksheet).
I am having trouble with setting the file name and path of the PDF. The type of format I am after is:
2011-12 Invoice - (then the name of the individual the invoice is being sent to - in this case taken from a cell within the worksheet) - (then the current date).PDF
When I run the code i currently have (which does not deal with the emailing of the invoice currently and any help on that would be greatly appreciated - I have code for this but dont want to make the thread too long) it returns the error as follows:
Run-time error '424':
Object required
and highlights the file name that I have defined.
The code i have can be shown below:
Any assistance with this matter is greatly appreciated. Please accept my apologies if I have not followed the forum rules appropriately this is my first post.Please Login or Register to view this content.
Thanks very much in advance
Bookmarks