I have a page listing a number of 'summary' books located in the folder which they summarize. As this is on portable drives, I have to enter the drive letter in one cell whenever that changes (due to reconnecting elsewhere). I have a hyperlink† that opens that book. No problem so far.
This page includes the path to the folder in which that book is located.
I would like to have a 'solution' that opens the folder in File Explorer (but I would substitute 'Q-Dir' in this).
Ideally, If it was tied to the hyperlink it would be 'one stop shopping'
Next best would be a single button that uses the present cursor position (or a button at each hyperlink line that uses that information (or other file location data on that line) to open the folder. Trying to avoid ...
Next option would require me to create a custom button & macro to open the folder for each line. (today that is 114 unique locations ... ultimately it could be several thousand. I'd like to avoid having to create each solution individually, though I could see a way to create that unique code reasonably efficiently)
I can run a batch file to accomplish this ... I could create the unique batch file for each folder easily ... would just need a way to run that without having to open "run" and paste the batch to it.
† This hyperlink strips the folder name from the end of the path to create the 'friendly name' of the book located at F6: (not my creation!)
[=HYPERLINK(F6,LEFT(RIGHT(F6,LEN(F6)-SEARCH("$",SUBSTITUTE(F6,"\","$",LEN(F6)-LEN(SUBSTITUTE(F6,"\",""))))),LEN(RIGHT(F6,LEN(F6)-SEARCH("$",SUBSTITUTE(F6,"\","$",LEN(F6)-LEN(SUBSTITUTE(F6,"\",""))))))-5))]
So this takes the path ":\The Complete Data Location\Alpha Organizer(A,B,…XYZ)\Sub Alpha(AAA-ALL,ALM-AZZ)\Project Folder\Folder Summary.xlsx" to yield the 'friendly name' "Folder Summary",
Similarly, I can extract the path to the Folder alone.
I hope that presents my problem clearly! (??)
This page includes the path to the folder in which that book is located.
I would like to have a 'solution' that opens the folder in File Explorer (but I would substitute 'Q-Dir' in this).
Ideally, If it was tied to the hyperlink it would be 'one stop shopping'
Next best would be a single button that uses the present cursor position (or a button at each hyperlink line that uses that information (or other file location data on that line) to open the folder. Trying to avoid ...
Next option would require me to create a custom button & macro to open the folder for each line. (today that is 114 unique locations ... ultimately it could be several thousand. I'd like to avoid having to create each solution individually, though I could see a way to create that unique code reasonably efficiently)
I can run a batch file to accomplish this ... I could create the unique batch file for each folder easily ... would just need a way to run that without having to open "run" and paste the batch to it.
† This hyperlink strips the folder name from the end of the path to create the 'friendly name' of the book located at F6: (not my creation!)
[=HYPERLINK(F6,LEFT(RIGHT(F6,LEN(F6)-SEARCH("$",SUBSTITUTE(F6,"\","$",LEN(F6)-LEN(SUBSTITUTE(F6,"\",""))))),LEN(RIGHT(F6,LEN(F6)-SEARCH("$",SUBSTITUTE(F6,"\","$",LEN(F6)-LEN(SUBSTITUTE(F6,"\",""))))))-5))]
So this takes the path ":\The Complete Data Location\Alpha Organizer(A,B,…XYZ)\Sub Alpha(AAA-ALL,ALM-AZZ)\Project Folder\Folder Summary.xlsx" to yield the 'friendly name' "Folder Summary",
Similarly, I can extract the path to the Folder alone.
I hope that presents my problem clearly! (??)