OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Global File Name Change

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Calc
View previous topic :: View next topic  
Author Message
quarkrad
General User
General User


Joined: 18 Jun 2009
Posts: 12

PostPosted: Tue Oct 26, 2010 5:02 am    Post subject: Global File Name Change Reply with quote

I have many spreadsheets where the numbers that appears in numerous cells are actually on different spreadsheets. So, for example, the number in a cell could be 10 but the contents of the cell is ='file:///media/Finance/Spending July.ods'#$Breakdown.k67

So 10 refers to cell k67 in a spreadsheet called Spending July.ods in a folder /media/Finance. What I would like to do is to rename the Finance folder to say, Spend. So the contents of my cell would now read: ='file:///media/Spend/Spending July.ods'#$Breakdown.k67 But I have many of these references. Is there a way of globally changing Finance to Spend in these cell references?
Back to top
View user's profile Send private message
DiGro
Super User
Super User


Joined: 02 Jun 2004
Posts: 1415
Location: Hoorn NH, The Netherlands

PostPosted: Tue Oct 26, 2010 8:52 am    Post subject: Reply with quote

TRY THIS ON A COPY OF YOUR FILE:

Select all cells on the sheet you want to change the referencing cells Edit > Select all or
click on the cell left of A and above 1

Now with Search and replace you can try to change them.

add media/Spend/ to the box Search for and
add media/Finance/ to the box Replace

Hit the button More and choose Formulas with the box Search in

Now try it one time and hit Find, this should find a cell with the searchstring, you can replace that with the button Replace.

If it works you can use the button replace all. That should change all references in the cells on that sheet.

If it works, and only then, use it on your original sheets
(make sure to make a safe copy of it that you store for if it fails)

EDITED: It might even be that renaming the sheet from SPEND to FINANCE might change the references, but I'm not sure and don't have a file with that kind of references to try
_________________
DiGro

Windows 7 Home Premium and AOO 4.0.1 NL (Dutch)
Back to top
View user's profile Send private message
keme
Moderator
Moderator


Joined: 30 Aug 2004
Posts: 2910
Location: Egersund, Norway

PostPosted: Tue Oct 26, 2010 11:57 am    Post subject: Reply with quote

You can also see if the dialog Edit - Links is useful.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Calc All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group