+ Reply to Thread
Results 1 to 2 of 2

How to merge multiple excel files(xls) in one folder into a new xls file.

  1. #1
    Registered User
    Join Date
    01-24-2013
    Location
    Armenia
    MS-Off Ver
    Excel 2003
    Posts
    2

    Question How to merge multiple excel files(xls) in one folder into a new xls file.

    Hi everyone, can anybody skip me java code to merge multiple .xls files into a new created .xls file.
    I am using poi, but but every time when I merge one .xls to another one, it overrides instead of adding it to the end of .xls file.
    I am using:
    setCellValue(newsheet.getRow(0).getCell(0).toString(),true);
    there the second argument "true" means to add in the end of file as opposed as in the beginning but it doesn't work, it still overrides.. help me pleas

  2. #2
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: How to merge multiple excel files(xls) in one folder into a new xls file.

    http://www.rondebruin.nl/copy3.htm
    If solved remember to mark Thread as solved

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1