[Solved] Sheets() and linked documents

Discuss the spreadsheet application
Post Reply
GardenTiger
Posts: 2
Joined: Thu Aug 20, 2015 12:55 pm

[Solved] Sheets() and linked documents

Post by GardenTiger »

I have a spreadsheet with 22 sheets but the function SHEETS() returns the erroneous value 24 (which screws up my macros). I can increment the result of SHEETS() by adding a link to another document so I have probably embedded accidentally a formula containing a link. However, if I delete the linking formula, the value of SHEETS() remains permanently at its higher value.

a) how do I find an incorrectly embedded link ( search the fomulas for file: etc does not work)
b) how do I get SHEETS() to return the correct value?

Thanks
Last edited by RoryOF on Thu Aug 20, 2015 2:38 pm, edited 1 time in total.
Reason: Added [Solved] and green tick [RoryOF, Moderator]
OpenOffice 3.1 on Suse / OpenOffice 2.4.2 on Windows Vista
User avatar
RoryOF
Moderator
Posts: 34613
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Sheets() and linked documents

Post by RoryOF »

Might there be hidden sheet(s)? Details on hiding/unhiding at
https://wiki.openoffice.org/wiki/Docume ... owing_data
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
GardenTiger
Posts: 2
Joined: Thu Aug 20, 2015 12:55 pm

Re: Sheets() and linked documents

Post by GardenTiger »

Many thanks. Problem solved. It was hidden pages.

Deleting the linking formula obviously does not remove the hidden page even though the page is no longer referenced.
OpenOffice 3.1 on Suse / OpenOffice 2.4.2 on Windows Vista
Post Reply