in reply to Re^4: Reading Variables in Excel Spreadsheet
in thread Reading Variables in Excel Spreadsheet

$ws is the worksheet, do you have multiple worksheets ?

poj

Replies are listed 'Best First'.
Re^6: Reading Variables in Excel Spreadsheet
by merrymonk (Hermit) on Jan 15, 2018 at 17:05 UTC
    In this test case no. However, in 'production' yes.

      In depends on the Scope of the named range, either Workbook or Worksheet. If they are all Workbook scope and therefore unique the name is sufficient. If Worksheet specific then add the sheetname ie Sheet1!name

      In Excel use Formulas->NameManager to see the details

      poj