Trying to use the ModelType variable to define an active range. It basically says to create "LinksFGsLookup" for a range on the "LinksFGs" worksheet. Sometimes I want to use the LinksFGs worksheet, but sometimes it's call some other form of LinksXXX. Given that ModelType is set to "FGs", why does the second line work, but the first does not? The first does not create a range name. No error, but it doesn't create a range.
ActiveWorkbook.Names.Add Name:="Links" & ModelType & "Lookup", RefersToR1C1:= _
"='Links[" & ModelType & "]'!R6C1:R" & LastRow & "C5"
ActiveWorkbook.Names.Add Name:="Links" & ModelType & "Lookup", RefersToR1C1:= _
"='LinksFGs'!R6C1:R" & LastRow & "C5"
ActiveWorkbook.Names.Add Name:="Links" & ModelType & "Lookup", RefersToR1C1:= _
"='Links[" & ModelType & "]'!R6C1:R" & LastRow & "C5"
ActiveWorkbook.Names.Add Name:="Links" & ModelType & "Lookup", RefersToR1C1:= _
"='LinksFGs'!R6C1:R" & LastRow & "C5"