Okay, so I've tried multiple things and I definitely need help. I want it to work when the workbook is saved and when it is opened (which will be added after I get the first part to work). It's a freelance job that will be used by employees at a company that I don't technically work for, so it will be saved in new locations and possibly under new file names. That said, the gentleman I'm doing the job for insists that the employees should not have to manually update the Connection String.
I'm looking for a way to have the path and file name (the DBQ and the DefaultDir) automatically update in the Connection without the user needing to do anything manually. Thank you!
Here's what I have so far (3 codes working together):
--------
--------
I've tried other codes as well, which haven't worked:
Bookmarks