This week's book giveaway is in the General Computing forum.
We're giving away four copies of Emmy in the Key of Code and have Aimee Lucido on-line!
See this thread for details.
Win a copy of Emmy in the Key of Code this week in the General Computing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

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

 
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.
 
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
 
I am displeased. You are no longer allowed to read this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!