I have searched web and put some things in my workbook to get 1. the origional to save to one location 2. save a backup file to a backup folder and put date and time after to keep old file if changes are made. 3. export a file as pdf to a different location.
I have been looking at the "if file exist" stuff and would like to have a code look at the pdf's and if the filename already exist, do nothing. Only save the pdf the first time the file is closed and no additional pdf's (resaves/overwrites) to save after the first one.
Below is what i have copied and pasted to get it where it is now but not sure where to go next... I would take out the MM-DD-YYYY HHMM at the end of the pdf name so it will show up as the same name of course after adding to do nothing if the pdf exist.
The Pdf is to show the file as it was when it was closed after the shift. We have to send the pdf out in email so doing it my way below just clutters up the pdf folder if people look at the logs and it resaves the same thing, changes or not. We would then have to go through and pick out only the original/first log to attach to the email, instead of being able to just copy down the list and paste.
Any Help would be Great, Thanks!
Bookmarks