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

You can read the values using the name

for my $nm (in $Book->Names){ my $rng = $ws->Range($nm); printf "%s %s\n", $nm->{'Name'},$rng->{'Value'}; }
poj

Replies are listed 'Best First'.
Re^4: Reading Variables in Excel Spreadsheet
by Anonymous Monk on Jan 15, 2018 at 16:50 UTC
    Many thanks but there is something not quite right.
    In the 2nd line there is $ws. What is this variable since it is not defined in the original Perl?

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

      poj
        In this test case no. However, in 'production' yes.