Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-16-2007, 02:48 PM
Member
 
Join Date: Jul 2007
Posts: 5
abhishek.jain is on a distinguished road
Reading data from Micrsoft excel and writing to notepad
Hi all,

I am writing a program to read data from excel and write data to notepad.
I am using POI Api

1.My first problem is that it is not reading the date properly.In cell, date is entered like this oct-07.When i click on a particular cell, function text box in Excel file shows the date as 10/23/2007. I want to copy this dd/mm/yyyy format to notepad but dont know how.

2. My second problem is that when i copy data to notepad , exponential sign(E) comes in the notepad due to large calculations in the excel file . I want the exact calculated value to bo copied in notepad and not the exponential sign.I dont know how to solve this problem?

Regards
Abhishek
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 10-17-2007, 04:21 AM
Member
 
Join Date: Jul 2007
Posts: 6
liqdok is on a distinguished road
The POI does not have the caculation function,it can only read and write excel file.
This one maybe can help you,it can caculate excel functions and also can read,write excel file.

JAVA Excel Designner
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 06-18-2008, 02:24 PM
Member
 
Join Date: Jun 2008
Posts: 1
abhiinreach is on a distinguished road
Using POI
# Read an excel file from the local file system
# Process the file to create database script
# Log files created on every events of the file processing
# Using Apache POI api
# Full source code
# Support on I18N
Attached Files
File Type: zip poi.zip (28.0 KB, 32 views)
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Reading data form Excel using Jdbc (example) Java Tip Java Tips 0 02-13-2008 01:23 PM
Reading excel worksheet Java Tip Java Tips 0 02-13-2008 01:19 PM
Reading from EXCEL sheets javaplus Advanced Java 3 01-08-2008 08:14 PM
Help with File reading and writing baltimore New To Java 1 07-31-2007 08:47 PM
writing to a excel file from java program priyankabhar New To Java 1 07-10-2007 10:05 PM


All times are GMT +3. The time now is 11:08 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org