Welcome to NeoOffice developer notes and announcements
NeoOffice
Developer notes and announcements
 
 

This website is an archive and is no longer active
NeoOffice announcements have moved to the NeoOffice News website


Support
· Forums
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


  
NeoOffice :: View topic - BUG: #REF while Copy&Paste a reference (CALC)
BUG: #REF while Copy&Paste a reference (CALC)
 
   NeoOffice Forum Index -> NeoOffice Releases
View previous topic :: View next topic  
Author Message
knel
Blue Pill


Joined: Mar 02, 2009
Posts: 1

PostPosted: Mon Mar 02, 2009 9:41 pm    Post subject: BUG: #REF while Copy&Paste a reference (CALC)

On Sheet1 cell A1 I add a text: qwerty. Now on Sheet2 I want to create a reference/link to Sheet1 A1, so if I change the text in Sheet1 A1, it will change in Sheet2. So I add at Sheet2 cell A8: ='Sheet1'.A1
Everything works fine, but now if I want to copy and paste the information from Sheet2 A8 to Sheet2 B9 I get a #REF or random information because CALC references to any cell from the same row, it adds a random number at the end.

Instead of adding 'Sheet1'.A1 when pasting it adds: 'Sheet1'.A18 or 'Sheet1'.A93, etc. every time I paste the number after the A changes.

I'm sorry if this was posted before, but I made a search and the list was so long that I couldn't check it completely.

PS: Sorry for my english is not my native language, I hope you could understand it.
Back to top
James3359
The Merovingian


Joined: Jul 05, 2005
Posts: 685
Location: North West England

PostPosted: Tue Mar 03, 2009 4:22 am    Post subject:

What you are describing sounds like normal spreadsheet behaviour, not a bug.

The formula you are pasting stores a relative value for the cell, so when you past the formula elsewhere, the default option is for it to assume that you want it to refer to another cell in the same relative position to the cell you are pasting in. If you want to keep an absolute value you can do it by placing a $ before each element of the cell's value e.g. $B$5. This will never change wherever you cut/copy and paste it to. (See this OpenOffice.org tutorial - NeoOffice is based on OpenOffice)

Alternatively, to retain cell references for a one-off copy/cut and paste use the following steps:
  1. Select the cell you want to cut or copy from. The Formula Bar toolbar should show the contents of that cell in the Input Line
  2. Copy the formula from the input line
  3. Paste it into the cell where you want it
This process overrides/bypasses the updating of relative values pasted into new location.
Back to top
Display posts from previous:   
   NeoOffice Forum Index -> NeoOffice Releases All times are GMT - 7 Hours
Page 1 of 1

 
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
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.