Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

#REF! error when trying to access cell of another Sheet in same workbook.

 
Samir Banerjee
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using POI 3.7 beta version. When I try to access a cell of another sheet of same workbook like '=Sheet2!B6' . In our code we do not do anything with this formula and let the excel itself handle it. We only do :

As it is required for POI version after 3.0. I have verified that this formula ie. '=Sheet2!B6' is working fine when I am using POI version 2.5. But this problem occurs with POI 3.6 and 3.7.
So do I need to do something explicitly so that #REF! error does not occur.Kindly help!!!
Thanks in advance.
 
Samir Banerjee
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One more point that I noticed just now is that the cell number B6 is automatically getting changed(ie.B26 or B36) to some other value that is not valid. in our code we do not touch this formulas. So it is happening automatically.
 
Samir Banerjee
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can someone kindly put some light on this.....Or let me know if need to provide more information.
 
salim chami
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello
i have the same problem.
Have you found the solution ?

thank you.
 
Samir Banerjee
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Salim,
This happened to me because the reference that the formula were doing got shifted from original position. So I had to recopy those cells to their original position.

~Samir
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic