Problem description: The context command on the sheet tab "Move/Copy Sheet ..." makes the reference invalid (=#REF!.A1) (example below) or renames the "reference target sheet" to the one one of the "copy sheet" (=Sheet1.A1 instead of =Sheet2.A1) (happened to me to a range inside a VLOOKUP unable to reproduce) or when pressing "ctrl" move_tab with mouse to copy (reproducable but doesn't happen all the time) noticed in 4.1.0.4 / Windows 7 x64 Steps to reproduce: 1. create Sheet1 and Sheet2 and fill Sheet2 with data (A1) 2. create a reference in Sheet1 ( =Sheet2.A1 ) 3. use the "Move/Copy Sheet ..." command mentioned above 4. look in the copied Sheet at the reference Current behavior: The Reference gets replaced with =#REF!.A1 or even "=Sheet1.A1" Expected behavior: Should copy the sheet as is not manipulate References the way it does now. Operating System: Windows 7 Version: unspecified
Hi ebricca, thanks for reporting. Maybe the problem is that you not are using absolute references, using relative references as you are doing, the formulas in the new sheet are modified for a non existent sheet. Use; =$Sheet2.A1 and do the copy, if you want retain the reference to Sheet2. If you are not used about absolute/relative references, look in the help index for "absolute addresses in spreadsheets" or in the LibreOffice documentation about calc chapter 7 page 13, https://wiki.documentfoundation.org/Documentation/Publications#LibreOffice_Calc_Guide
(In reply to comment #1) > Hi ebricca, thanks for reporting. > > Maybe the problem is that you not are using absolute references, using > relative references as you are doing, the formulas in the new sheet are > modified for a non existent sheet. > Use; > =$Sheet2.A1 > and do the copy, if you want retain the reference to Sheet2. > > If you are not used about absolute/relative references, look in the help > index for "absolute addresses in spreadsheets" or in the LibreOffice > documentation about calc chapter 7 page 13, > https://wiki.documentfoundation.org/Documentation/ > Publications#LibreOffice_Calc_Guide thanks, you are right "absolute reference" resolves the primary issue the erratic behavior: renames the "reference target sheet" to the one one of the "copy sheet" =Sheet2.A1 or =#REF!.A1 where i can't see a rule remains
This is same issue as Bug 50860 - EDITING: Copy Sheet Moves Formulas. Marking is duplicate.
*** This bug has been marked as a duplicate of bug 50860 ***
Duplicate of duplicate. *** This bug has been marked as a duplicate of bug 85538 ***