Excel function to return the shortcut file name of a shortcut to an Excel template

%3CLINGO-SUB%20id%3D%22lingo-sub-1963892%22%20slang%3D%22en-US%22%3EExcel%20function%20to%20return%20the%20shortcut%20file%20name%20of%20a%20shortcut%20to%20an%20Excel%20template%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1963892%22%20slang%3D%22en-US%22%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20know%20that%20%22filename%22%20returns%20the%20full%20path%20to%20an%20Excel%20file%20name%2C%20but%20is%20there%20a%20way%20to%20get%20the%20name%20of%20a%20shortcut%20file%20that%20points%20to%20an%20Excel%20file%20name%3F%20I'd%20like%20a%20single%2C%20configurable%20template%20file%20that%20will%20automatically%20change%20some%20SQL%20lookups%20depending%20on%20the%20executing%20(double-clicked)%20file%20name%20(via%20a%20lookup%20table).%20There%20is%20is%20currently%20%26gt%3B95%25%20commonality%20across%20several%20template%20files%20and%20it%20would%20be%20nice%20to%20only%20have%20to%20maintain%20one%20file.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1963892%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EOffice%20Apps%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Visitor

 

I know that "filename" returns the full path to an Excel file name, but is there a way to get the name of a shortcut file that points to an Excel file name? I'd like a single, configurable template file that will automatically change some SQL lookups depending on the executing (double-clicked) file name (via a lookup table). There is is currently >95% commonality across several template files and it would be nice to only have to maintain one file.

0 Replies