I have a workbook with thousands and thousands of lookups and references to data in other workbooks. Most of the formulas have one small piece that needs to be updated each time we create a new workbook. I wanted to use named ranges where those values could be referenced in the formula to see if that would work better than doing a find/replace which takes forever. Below is a typical path with a hard coded reference. The value for "YYY" is something I wanted to pull from a named range. If I insert the named range and wrap the path in double quotes it's treated like a text string but I thought it could be done using multiple quotes or some type of escape character.
Code:
='\\server\share$\folder1\folder2\folder3\folder4\[xxxxxx xxx YYY xxxxxxx.xlsx]sheet name'!$H$5
='\\server\share$\folder1\folder2\folder3\folder4\[xxxxxx xxx MYNAMEDRANGE xxxxxxx.xlsx]sheet name'!$H$5