How to get(copy) the contents i.e the cell of an excel sheet to other excel

How to get(copy) the contents i.e the cells of an excel sheet to another excel sheet.
I can read the contents i.e the text in the cells and able to display it in the Java console
i want these contents to be copied to another excel sheet with the cells data.
I am using Java Swing for the UI, POI framework for the excel work.
Please anyone suggest some code to this requirement.

[spreadsheets with poi|http://poi.apache.org/spreadsheet/converting.html] Hi
on the poi apache site there's a number of good examples...
I started with poi only a week ago, but just from reading these examples
(especially SS Usermodel code) i managed all i needed to know (so far).
kind regards
BB
Edited by: BugBunny on Feb 22, 2010 4:36 AM

Similar Messages

  • How do I copy the entire contents of my laptops failing hard drive to copy back onto a new computer.

    How do I copy the entire contents of my laptops failing hard drive to copy back onto a new computer.

    If the drive has failed the only way to get any data off it is to send it to a Data Recovery company. Which is very expensive and no guaranty they will be able to retrieve any data.
    That is why Apple has included a system to backup your Mac on a regular basis, Time Machine. Also there are other Apps to do basically the same thing by Cloning your internal drive to an external drive. Carbon Copy Cloner and SuperDuper. Along with using Disk Utility to Image the internal drive to an external drive.
    Sorry to tell you but if the drive has really failed your Data is gone unless you pay a large sum of money to one of the Data recovery companies.

  • How can I copy the contents of an address book group

    Does anyone know how I can copy the entire contents of an Address Book group and paste the results into an e-mail to send to others? When I select the group and then the "copy" tool, it copies only the first address in the group. If I select "select all", it selects all e-mail addresses everywhere, not just the ones in the intended group.

    He did not want to add them all to his address book; he simply wanted to have my long list of staff email addresses without having to type it or create it himself, like this: [email protected], [email protected], [email protected], [email protected], etc. We used to use an email application called Eudora which allowed you to copy and paste group lists as though they were just text characters. With Mail (and Address Book), everything is connected to everything else and a group list is actually a set of flagged contacts from your "All Contacts" list.

  • How do I copy the DVR recorded content to Laptop or any external drive.

    How do I copy the DVR recorded content  to Laptop or any external drive. Pl suggest.
    Thx.

    It is awkward but I have a Coax line out the DVR that goes to my Media Center Computer (which has the same multimedia software that is built into Vista) and then to my computer's TV tuner. (This is the same line out function that you use to send the DVR output to a VCR) Using my Media Center software, I can play the recorded DVR program and record that on my computer. Once in the computer, I can transfer the file by my wireless network to my laptop. It is a bit convoluted and requires a computer with a TV Tuner to record the program, but it can be done if I really want the item recorded to the computer.

  • I have two computers and one iphone, one computer and the iphone are synchonized but how can I copy the contents to the second computer?

    I have two computers (1 PC and 1 iMac) and one iphone, the PC and the iphone are synchronized but I cannot copy or sync the contents to the iMac. How can I copy the contents? Can I connect the PC to the iMac so that I can use the PC as a hard-disk? Will that affect the system to work smoothly?
    Thanks

    got it fixed. didnt know that if you log in with ex. [email protected] it brings up different stuff than if you log in with 12345 as the username

  • HT1451 How can I copy the contents of an old Ipod to a new computer?

    How can I copy the contents of an old Ipod to a new computer? When the old Itunes library cannot be used?

    See Recover your iTunes library from your iPod or iOS device.
    tt2

  • When I try to copy the e-book into my koboe-reader i get a message saying ce copy not allowed, how can I copy the  book

    when I try to copy the e-book from the library into my kobo reader I get a message, saying ce_copy_not_allowed. How can I copy the book into the reader?

    Is the computer authorized for the iTunes account that purchased it?
    iTunes Store: About authorization and deauthorization
    If it is an Audible book, is iTunes authorized for the account? Go to iTunes<Advanced<Audible Account

  • Alter a BAPI Result Table, how to get into the display "loop" ?

    Hello all,
    i have a problem regarding the result rows of a RFC/BAPI Call.
    There are three views, let's say 1,2,3. In View 1, i call a BAPI, and display the results in a table in View 2. I added a button in each row, which calls View 3 and displays some details concerning the selected row.
    I now want to store a flag for each row, that has been displayed in this way.
    In View 3 i store the key value of the displayed row in an own value node in the context.
    When i go back from View 3 to View 2, i want to see that flag (in an extra column) in every row, that has been selected in this session.
    So i do not know, how to alter a single row in the BAPI result table, how to get into the "loop" that is used by WD to display the table.
    already tried a supply function, but i was not able to alter single rows.
    Any suggestions/tips or perhaps code fragments of working supply functions ?
    Thank you !

    Hello,
    I'm not sure whether I understood your problem correctly, but I will try to give an answer.
    The easiest way I see is to copy the RFC Results to a Component Controller Context structure with an additional Flag field. You can use WDCopyService for copying.
    Then on the event of selecting you set your flag as appropriate for you (e.g. if you want to use an image as flag you set the Image path) on the current element of your table. Then display View 3.
    On going back View 2 should show now the new flag values...
    The trick is to copy the values (as at Time structures can not be expandend with new fields) and set the Flag on the onSelect event.
    Hope this helps,
    Frank

  • I have copied my CDs into iTunes  (currently running v11) to play on my iPod.  I have now bought a non Apple mp3 player to use when I am out running.  How can I copy the many tracks I want from iTunes onto the new player?

    I have copied my CDs into iTunes  (currently running v11) to play on my iPod.  I have now bought a non Apple mp3 player to use when I am out running.  How can I copy the many tracks I want from iTunes onto the new player?
    Thanks

    I tried Notpod but can't get it to work.  Part of the problem, I suspect, is that I can't create a folder on my player (a SanDisk Clip+).  I also can't do this in Windows Explorer.  Whilst I can see the Clip+ in Explorer, the option to create a new folder isn't there.
    The error mesag I get in Notpod is:
    "Unhandled exception has occurred in your application.  If you click Continue, the application will ignore this error and attempt to continue.  If you click Quit the application will close immediately.
    InvalidArgument=Value of '0' is not valid for 'SelctedIndex'. Parameter name: SelectedIndex"
    Then, when I plug the Clip+ into a USB port, iTunes thinks it is my iPad - which is because, I guess, Notpod hasn't worked.
    I can drag and drop files from the Music folder where my iTunes tracks are stored onto the Clip+ and they get converted but I'd rather synchronise a Playlist from iTunes if I can.
    Thanks anyone who can help

  • My partner has my former iPad 1, I have an iPhone 5 and iPad Gen III.  I want to copy my contacts list to his iPad.  We both have Apple ID's and we share a PC.  How do i copy the contacts from my iPhone, iCloud or iPad to his iPad 1?

    copy my contacts list to his iPad.  We both have Apple ID's and we share a PC.  How do i copy the contacts from my iPhone, iCloud or iPad to his iPad 1?

    The problem is that all services are bundled with your Apple ID ([email protected]):
    Your iCloud account (Mail, Contacts, Calendars, Reminders, Notes, Backups, etc.),
    also iTunes & App Store purchases (Music, Movies, TV Shows, etc.),
    and the iTunes Match services.
    (I guess that all your devices - yours and your wife's are connected to one iTunes library, right?)
    If you want that your wife gets her own iCloud account for Mail, Contacts, Calendars, etc. but gets also access to your media then you have two set up two things on her device:
    iCloud (Settings > iCloud) with her account (e.g. [email protected])
    and
    iTunes & App Stores (Settings > iTunes & App Stores) with your account (e.g. [email protected]).
    In this case she gets access to your library and could use the same iTunes Match account.
    (See also: Using one Apple ID for iCloud and a different Apple ID for Store Purchases http://support.apple.com/kb/HT4895)

  • How can I copy the Mail "rules" I have already setup on my old MacBook over to the new machine?

    Setting up my new MacBook Pro. How can I copy the Mail "rules" I have already setup on my old MacBook over to the new machine?
    Is there a file I can copy & paste?

    Thanks Barry & all,
    Is it enough to just copy the rule-related files ??
    i.e.
    Library/Mail/V2/MailData/RulesActiveState.plist
    Library/Mail/V2/MailData/SyncedRules.plist
    Library/Mail/V2/MailData/UnsyncedRules.plist
    What you suggest copies the local mailbox content + all the settings ...
    while what I need is much less... and I'd like to be able to sync rules also in the future
    by copying something light and simple ... not the entire Library/Mail folder
    Many thanks,
    Stefania

  • How can I copy the kindle format books on my iPad to my Linux PC.?

    My iPad battery is dying/dead.  How can I copy the kindle format books on my iPad to my Linux PC?  Because i understand they'll be lost when i get Apple to 'fix' my battery.

    Meg, thanks but these are Science Fiction books from Baen Books directly.  I realize I could go back to the publisher and redownload them but there are 100+ books and I'd like to avoid that.  What I'd prefer to do is to find where they are on the IPad and then copy them to my PC and then be able to copy them back to the replacement iPad.
    Does anyone know how to do that?

  • How can I copy the whole directory of files from PC to iPad?

    How can I copy the whole directory of files from PC to iPad ?

    Get an app that reads PDF's, such as iBooks or GoodReader or Readdle Docs, then use the file transfer part of iTUnes to get those files to your iPad, through iTunes. ( I have no experience with goodreader, but with ReaddleDocs you can move the files, then create folders to put them in to keep them organized)

  • How do I copy the Mac OS Lion after upgrading?

    How do I copy the Mac OS Lion after upgrading. I upgraded to OS Lion and now I want to do clean install because my macbook became slower since i installed lion.
    Please, help! Thanks.

    You need to get on a Snow Leopard system, log into the App Store with your Apple ID, then download the Lion installer. The re-download is free. After the installer is downloaded it will start automatically. Now, quit the installer. You can now make a copy of the installer that you will find in the Applications folder.
    Now, you also may be able to get this to work: Open the App Store application. Hold down the OPTION key while clicking on the Purchases icon in the toolbar. This is supposed to activate the Install button to the right of your Lion purchase entry. Clicking the Install button will then re-download the Lion installer.

  • How do i copy The iMovie video from Mac, to iPad mini?

    How do i copy The iMovie video from Mac, to iPad mini?

    The easiest way is to firstly export the movie to iTunes (Share > iTunes), then sync the iPad Mini with iTunes. In iTunes, include your movie as an item to be synced. After syncing, on the iPad it will appear in the Videos app. That's how I do it for my wife's Mini.
    If you need help with exporting or with syncing to iTunes, please post back.
    I'm caught up with something else at the moment, otherwise I'd give you full instructions now (just wanted to get this to you quickly).
    John
    Message was edited by: John Cogdell

Maybe you are looking for