Hi, I am using the below code to generate a PDF of my spreadsheet. I need to add to this code, a feature that will check if the file name you are trying to create, ready exists in the directory that you are trying to save it in, and then allows you to change the name if it does exist, or carries on as normal if it doesn't exist. I know i need to create another variable of the file path, but am completely oblivious of how to do the rest. Any help is appreciated. Thanks
Please Login or Register  to view this content.