I used your Perl on the spreadsheet with the variables defined.

Cell B1 was defined as depth and had the value of 559
Cell B2 was defined as height snd had the value of 560
Cell B3 was defined as Width and had the value of 590?

I got quite a lot of output but this well be because I simply removed cells to leave just a few to consider.
In this output I found the following
depth =CALC!$B$1
height =CALC!$B$2
width =CALC!$B$3

This seems usable since it effective says that the three variaibles depth, height and width are in the 3 cells B1, B2 and B3.
I think I can use the cell references to 'read' the values but I wondered what the most effect way of doing this.
Some clues will be appreciated

In reply to Re^2: Reading Variables in Excel Spreadsheet by Anonymous Monk
in thread Reading Variables in Excel Spreadsheet by merrymonk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.