LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do I define a range in OpenOffice Calc? (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-define-a-range-in-openoffice-calc-676974/)

IsharaComix 10-16-2008 11:20 PM

How do I define a range in OpenOffice Calc?
 
Here's a random question about OpenOffice:

I want to define a range that is relative to local sheets. For example, I want the variable "foo" to be equal to the cell D3 in whatever sheet I'm currently in. Whenever I try to use Data > Define Range, it refers to the sheet that I originally set the variable.

In other words:
Name of Range: foo
Range: $'sheet1'.$D$3

I want for foo to access D3 in whatever sheet I'm in, not just sheet1. Is there a keyword I have to use in place of sheet1?

Sorry for the silly question. I'm using 2.4 in Xubuntu, though I doubt that holds any helpful information.

Jerre Cope 10-17-2008 09:10 AM

There is not a Global Variable concept in OO Calc. You can if have both spreadsheets open, you can press = within a cell in one and use the mouse to select a cell or range in the other. That "links" the two spreadsheets, and the calling spreadsheet will offer to relink with the other(s) each time you load.

If you want to do more than that, you'll need to delve into UNO. See the http://wiki.services.openoffice.org/wiki/Main_Page


All times are GMT -5. The time now is 02:35 AM.