I got a Method 'Range' of object '_Global' failed error when I'm trying to reference a workbook scope Named Range. I've referenced other Named ranges with the same code, and they all work fine. Only this particular range throws an error.
The function for the named range is this
=OFFSET(INDIRECT(ADDRESS(91,MATCH(Calculation!$G$89,Calculation!$C$90:$S$90,0),,,"Calculation")),,-2,1,5)
I couldn't figure out what's the issue with this, could anyone help me out please? Thanks!
This is the line that throws the error
Set rngVs = Range("'CAR Dashboard.xlsm'!PenLineSelected1Y")