Ken,
Thanks for the calculate tip. My problem now is that the cell that I need
to reference is on a different worksheet. I can't figure out how to
reference that worksheet (and get it to work!). I've tried the
...sheet!abc!A1... trick, but it still won't work.
Have I got this right?...
You have a sheet with a shape object (referred to as Oval 1 in the
above code) and you want its color to be determined by the values
shown in A1 and B1 on the same sheet (if either are greater than 0
then green, otherwise red). At least one of the values (A1, B1), or
maybe both, are(is) the result of a calculation, which is simply a
reference to the value in a cell (A1) on another sheet.
You have stated..
I've tried the...sheet!abc!A1... trick, but it still won't work.
"sheet!abc!A1" looks very strange.
If the name of the sheet being referred to is abc then the formula you
should be using on the sheet with the shape is =abc!A1.
If the name of the sheet is sheet!abc, which I very much doubt, then
the formula would be ='sheet!abc'!A1.
So, If what I have said is correct, then maybe the only problem is the
formula you are using to refer to that other sheet.
When referring to another sheet in a formula you can type the equals
sign, click on the tab of the referred-to sheet, click in the referred-
to cell in the referred-to sheet then press Enter.
I hope that gets it working.
Ken Johnson