How to open a File that is in 1 of 4 location
Hello,
How would I structure an IF ELSE statement to open a file that could be in one of a few different locations? Or is there a better way to do this?
Thank you 🙂
I have a prompt that allows me to enter a 7 digit file name.
What I would like to do is this:
IF G:\Layout\Plaques_Layout\PDF\5800000-5899999\5860000-5869999\5860002.pdf Exists
Then Open File
Else IF W:\Layout\Plaques_Layout\PDF\5800000-5899999\5860000-5869999\5860002.pdf Exists
Then Open File
Else IF C:\Layout\Plaques_Layout\PDF\5800000-5899999\5860000-5869999\5860002. pdf Exists
Then Open File
Else Alert "File was not located"