I have several different workbooks that I need to append a unique identifier (based off who opened it) to the end of the file name and save in a location on my local pc. I have the unique identifiers set, i have the save statement set, but I don't know in VBA how to set the references. Meaning let's say that if me (jo15765) opened workbook200 then I would need to search and find jo15765 = 45678, so the workbook would be saved in a location on my local PC with the filename of workbook200_45678. How can I reference a list of what usernames equal what identifiers? I know I could write multiple IF/Else statements or use Case statements. Are those the only options I have?
Bookmarks