Hi there,
I got the below code and it works great. I would just like to do some tweaking and need some help. I want to have the code save the active worksheet as a temp pdf, instead of bringing up the save dialog box. Here is the system I am working on. A form pops up which gathers information and puts it into a purchase order form which is a worksheet. The employee then clicks on a button to save the worksheet as a pdf into a directory determined by what information is gathered. A button to send a copy of the CSV worksheet to the accounting department, and finally I want a button that will have the worksheet sent off as a pdf to a particular vendor. This code works great, but I want to take the file naming away from employees so the file is saved in a special format. So for the pdf to be emailed off to the vendor, the file is already saved where it needs to be saved, in essence I just need something that coverts the worksheet to a pdf with a name that could stay the same such as purchase order and then the pdf could be erased after it was sent.
I don't know if I am making this overly difficult, but its the system I came up with.
Bookmarks