Formula to step through sheets in a file?

Discuss the spreadsheet application
Post Reply
ouch
Posts: 27
Joined: Thu Oct 13, 2011 11:14 pm

Formula to step through sheets in a file?

Post by ouch »

Is it possible to make a formula that steps through the sheets in it or another file without knowing each sheets name?

I know scripting can do it, but I was wondering if there was a way to define sheets by an number or something... So if I wanted to do a vlookup on say sheet number 3 and have the formula read the 3rd sheet in the file regardless of it's name.
OpenOffice 4 on Windows 7 64bit
User avatar
RusselB
Moderator
Posts: 6646
Joined: Fri Jan 03, 2014 7:31 am
Location: Sarnia, ON

Re: Formula to step through sheets in a file?

Post by RusselB »

Regretfully it doesn't appear to be possible, as there's no function (that I can find) that will return the name(s) of the sheets, without actually having to refer to the specific sheet name, or have some reference in each sheet that returns something that includes the sheet name.
OpenOffice 4.1.7, LibreOffice 7.0.1.2 on Windows 7 Pro, Ultimate & Windows 10 Home (2004)
If you believe your problem has been resolved, please go to your first post in this topic, click the Edit button and add [Solved] to the beginning of the Subject line.
ouch
Posts: 27
Joined: Thu Oct 13, 2011 11:14 pm

Re: Formula to step through sheets in a file?

Post by ouch »

ok thanks guys, I didn't think there was. I'll toss the idea up on the dev forums, maybe it will get added later.
OpenOffice 4 on Windows 7 64bit
Post Reply