| View previous topic :: View next topic |
| Author |
Message |
quarkrad General User

Joined: 18 Jun 2009 Posts: 12
|
Posted: Tue Oct 26, 2010 5:02 am Post subject: Global File Name Change |
|
|
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 |
|
 |
DiGro Super User


Joined: 02 Jun 2004 Posts: 1208 Location: Hoorn NH, The Netherlands
|
Posted: Tue Oct 26, 2010 8:52 am Post subject: |
|
|
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 OOo 3.3 NL (Dutch) |
|
| Back to top |
|
 |
keme Moderator


Joined: 30 Aug 2004 Posts: 2732 Location: Egersund, Norway
|
Posted: Tue Oct 26, 2010 11:57 am Post subject: |
|
|
| You can also see if the dialog Edit - Links is useful. |
|
| Back to top |
|
 |
|