I have a macro that is saving as PDF.
I use a line of code to generate the filepath
However I would like to then check if this file already exists and rename it to (1) or (2) .. etc
Any suggestions
I use a line of code to generate the filepath
Code:
filepath = "\\serv\company\shipping\invoices\" & FileName & ".pdf"
However I would like to then check if this file already exists and rename it to (1) or (2) .. etc
Any suggestions