MS Office Export/Import to Excel

Do we have standard API to implement export/import functionality for MS Excel 2007. I am not sure if JXL/HSSF or any other APIs have come up for this new version of excel.
Any thoughts?

Hi
Please refer [this|http://java.ittoolbox.com/groups/technical-functional/java-l/java-api-to-read-excel-2007-2580267?cv=expanded] and [this|http://xlsgen.arstdesign.com/core/exceltools.html] thread for help.
Best Regards
Satish Kumar

Similar Messages

  • Export/Import to Excel (including formulas)

    Hi All,
    I appreciate you looking into this post. I have a requirement to export to excel from a grid. I am able to export with no problem. the only issue I have is, is there a way that anyone has been able to import formulas to excel along with the data that is being imported.
    Also, has anyone been able to import from Excel. I am not having any luck looking thru the SAPUI5 controls to accomplish this task. Any direction is greatly appreciated.
    Thanks in advance,
    Sergio

    i think this is part of the answer.. this is to import csv -
    http://scn.sap.com/community/hana-in-memory/blog/2013/09/02/upload-data-to-hana-table-with-extended-services

  • Export/Import to Excel in HFM (11.1.2.2.3)

    Hi guys,
    My client asked me if he could export a data grid, modify it and the import it to HFM again... I believe that could be done with previous releases, but not quite sure with versión 11.1.2.2.
    Could you please confirm?
    Thanks!
    Jay

    With 11.1.2.2 you can open a grid directly in SmartView and submit data if the security is set up to allow such. I believe a lot of the export items are no longer applicable as forms and grids can be opened directly.
    JTF

  • Export to Microsoft Excel opens empty - IE11, Office 2010, Win 7

    Hi,
    I am using IE11, Office 2010 and Win7 64bit. When I open IE, navigate to a webpage and click "Export to Microsoft Excel" from the context menu of IE, Excel opens and the "New Web Query" dialog has an empty address (http:///). The content
    is
    "This page can`t be displayed"
    Does anyone know what might be the cause of this problem and how can I fix it?
    Best Regards,
    Jordan

    Hi,
    Please include a link to any webpage you are having issues with your questions so we can test the page....:
    Any webpage ... it is not webpage specific rather an environmental problem.
    javascript:alert(navigator.platform); :
    Message from webpage
    Win32
    OK   
    Open Excel, switch to DATA, choose From Web , then try to import the website for test if it had same problem.:
    It works unsurprisingly ...
    When I open IE I can see in the Windows Task Manager there are 2 processes - a 64bit (~8MB RAM) and a 32bit one (~70 MB RAM)
    My Office 2010 is a 32bit.
    If I open it directly a 32bit excel process is stared.
    If I open it via the "Export to Microsoft Excel" menu two 32bit excel processes are started. I believe one is for the New Web Query and another one for the Excel itself ..
    Best Regards,
    Jordan

  • Error message using SQL import and Export Wizard with Excel spread sheet

    I am trying to import an Excel spreadsheet using the Import export wizard that is provided with SQL 2014.  
    Everything seems to set up OK but then when I go to do the transfer "error message" comes up saying:
    External Table is not in the expected format.(Microsoft Jet Database Engine).   
    This is a spreadsheet and there is no database, that is why I want to import it into a database!!  So the reference to JET is a tad disappointing.
    So why the error and how do I fix the problem?
    As there are over 100 variables in the spread sheet rows, it would be great to have this automatically create the database and populate the fields.
    I am using SQL 2014  Express and Office Excel 2013.
    Thank you in  advance for taking the time to read this, and hopefully sheading some light on the issue.

    Hi AWlcurrent,
    When import a .xlsx file to SQL Server using SQL Server Import and Export Wizard, you see a “External Table is not in the expected format.(Microsoft Jet Database Engine).” error message. This error message seems that the Microsoft JET Database Engine is
    unable to handle something that is contained in the file.
    So please make sure there is no unsupported content in the Excel file. Alternatively, we can use ‘Microsoft Excel’ as the Data Source, then Select ‘Microsoft Excel 2007’ as the Excel version to import the excel file.
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    If you have any feedback on our support, please click
    here.
    Katherine Xiong
    TechNet Community Support

  • Workflow for exporting xml from Excel and importing into table in InDesign

    Hello,
    I have worked out how to get data from a .xlsx into a table in InDesign. However, the workflow is still a little clunky and I am looking for way to automate the process further. My current workflow is as follows (files can be download here: http://visual360.co.uk/xml.zip)
    xml is exported from .xlsx by mapping the schema (see what_I_get.xml)
    assign tags to table and individual cells in InDesign
    This is the clunky bit: edit the what_I_get.xml to:
    remove the indentation (this seems necessary as otherwise when I get to stage 4, all the imported text is also indented)
    add tag for table in InDesign (p10_table)
    add tags for individual cells (p10_c11 etc.)
    import the produced what_I_want.xml in the structure panel of InDesign.
    Can anyone point me in the direction of how to automate step 3 above?
    Thanks in advance,
    Nick

    Hi Mike,
    Thanks very much for the reply. I am not at all familiar with XSL/XSLT. I have given it a quick google and it seems like it could be quite a steep learning curve to master. Maybe if I explain the whole context here, it may allow you to point me in the direction of a tutorial that provides a step by step approach to achieve my final goal. Alternatively, you may be able to suggest a whole new workflow.
    I am in the process of updating this document: http://www.ncl.ac.uk/students/insessional/assets/documents/IS_Brochure_2014-15.pdf
    The tables on pages 10-21 contain lots and lots of repeated information. We want the layout to in this format so that each group of students has all the information relevant to them on a single double spread. However, the challenge of using this approach is that it is very high maintenance to ensure the duplicated information is kept in sync - even using a copy / paste approach.
    I was hoping to overcome this by using a single source of data (eg. a spreadsheet) which would then feed into the InDesign. This workflow seems to be overcomplicated by the apparent need to use xml as the "middle-man".
    Ideally, I would like to press the export button in Excel and get this information into the the correct cells in the tables on pages 10-21 without a significant amount of manual labour - after all, my reasons for investigating an automated approach in the first place was to avoid the manual entering of data ie. the scope for error...
    An alternative approach maybe to skip Excel altogether and just use .xml. However, I am not sure that this is possible as Indesign only seems to allow you to import each element once. Maybe you could correct me here...
    I am happy to invest a certain amount of time in developing this approach as once it is in place, it will save a huge of proof-reading time year after year, especially as inconsistencies still persist despite our best efforts to weed them out.
    If you could let me know your thoughts on this and maybe identify a tutorial that would help me, I would be extremely grateful.
    Thanks again!
    Nick

  • How do I keep formatting while importing/exporting from/to excel using Numbers for Ipad

    I have an excel file that I export to Numbers on my Ipad. The problem is I lose all of my formatting. I use a lot of linking cells in the excel version of the file. And even when I work on the Numbers version of the file and put in the pop up menus, I lose those when I export to excel. Is there any way to keep this formatting when exporting/importing?
    Thanks for the help.

    Migintosh, I hadn't thought of that, but turns out that is my problem. I seems when I place the file, indesign in automatically changing those values. Is there a way to force indesign keep those at 0 (or whatever value I want) as I place the text? Right now, what happens is I place the text and then have to select all and manually set the before and after to 0 since indesign decides to change the after spacing to 0.1389.

  • Export data to excel using DOI(desktop Office integration) technique

    Hi Experts,
    I have the requirement to export data to excel file, I have some idea using OLE but no idea of exporting to excel using DOI, Please help me by providing sample code for it.
    My requirement also include merging of cells and coloring of cells.
    Thanks
    Rohit

    For merging of cells you can refer following code!
    [Merging of cells.|https://www.sdn.sap.com/irj/scn/wiki?path=/display/community/oleconceptfordownloadingthereportoutputintoexcel]
    Regards,
    Lalit Mohan Gupta.

  • Problems Exporting rpts to Excel!

    Post Author: miguelitobh
    CA Forum: Exporting
    Hello Everybody! I´m new in the forum, and i have a question that is killing me... I´ve an application that runs asp and COM+ using Visual Basic... I made another litlle module for Crystal Reports rpts imports... I wrote the code using the Business Objects Samples like example (rtpserver.asp, etc) ands works fine. The problem that i´ve found is: In the export all the options are working, except the 2 excel´s types. When a try do export a report to Excel, i put the file name and try to save, but the application hangs my IIS server... Anyone can help me? I´m using Windows XP SP2, Office 2003 and Crystal Reports XI R2...
    Tahnk´s

    Wannetta,
    When the user filters the data and then exports it to excel; all of the original data is exported rather than the filtered data.
    Can you describe the exact workflow in a bit more detail.  Here is one "gotcha" to consider, which sounds suspicous to your case.  If the user is using InfoView (not WebI), and he or she uses Export to Excel with CSV, then there is no consideration to what has been done in the report, the contents of what you see in the "Results Object" panel from the Edit Query view is what is sent over to the CSV file.  Also, the order of the columns of data is according to what is specified in the "Results Object" panel.  So, just a heads-up to consider if this is happening or not.  Otherwise, please give us the workflow and the version of XI and client's versioin of Java on the workstation...
    Thanks,
    John

  • Importing Word, Excel, and Powerpoint...

    Can you import Word, Excel, and Powerpoint files into Pages, Numbers, and Keynote so that they can all be backed up on iCloud? 
    Will people with PCs and/or Office files still be able to read them?

    JFraser wrote:
    Can you import Word, Excel, and Powerpoint files into Pages, Numbers, and Keynote so that they can all be backed up on iCloud? 
    Will people with PCs and/or Office files still be able to read them?
    Yes they are all easily imported into Pages, Number & Keynote and those apps will also export to their MS Office equivilants.  However if you are sharing the documents regularly with Windows users it would be much easier to just get MS Office for Mac 2011. Then sharing documents is a much easier process.

  • Re: Import an Excel file

    Serdar,
    There are three approaches to this problem
    (a) use the excel spreadsheet as an ODBC data source
    (b) read the excel spreadsheet as a tab delimited text file
    (c) use OLE
    (a) this requires defining column headers for each "section" of data in the
    spreasheet, and
    naming each "section" of data. Thus it works for spreadsheets where you
    have tight control
    over the formatting & content, and not for arbitrary spreasheets. There
    are numerous drawbacks
    to this approach, most notably that the ODBC datasource controlled by
    the ODBC Manager
    sets the file name, and not the DBResourceManager (you have to copy your
    spreadsheet into
    a fixed name, hope the other one isn't open in another session, etc etc)
    Blech.
    (b) this requires a manual step which is to read the spreadsheet into Excel
    and save it to a
    different format, or have the spreadsheets saved as comma separated
    values format (csv),
    then it is simply a parsing problem...
    (c) this requires that you sublaunch Excel through OLE and access the data
    somehow
    (issue a "select all", "copy" - then paste the data into some text
    field in Forte and read it,
    or programmatically access the spreadsheets boundaries and individual
    cell data.
    Sounds like this would work best for "arbitrary" spreadsheets for
    which special formatting
    or exporting would be problematic.
    We have had success (using the word loosely here) with a and b and not had
    occasion to do c, though it will probably yield the best flexibility for
    the effort you'll have to
    put into getting it to work. The common perception about doing OLE
    integration is that
    you are at the mercy of the application to which you are integrating - the
    OLE APIs are not
    all universally well designed, implemented, nor documented, however since
    this is Excel you
    might have lots of retail technical books to help you.
    Part of the problem is that the Excel spreadsheet file is in a proprietary
    format only understood
    by Excel, therefore just "reading" the file will give you a whole bunch of
    garbage.
    Good luck,
    John
    At 03:55 PM 1/15/99 -0800, you wrote:
    >
    >
    Can anyone tell me how to import an Excel file from any directory into the
    Forte array?
    I need to do following scenario:
    In the Forte application when the user click on the "Select" button user
    selects an Excel file from the explorer window. Than I need to read that
    Excel file and load the data into the Forte array, and I'm going to use the
    data in the program.
    If anyone has experience or any suggestions, please let me know.
    Thanks
    Serdar Askin
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>*******************************************************
    John Jamison [email protected]
    Vice President and Chief Technology Officer 415 399 7212
    Sage IT Partners, Inc. fax: 415 399 7002
    44 Montgomery Street
    Suite 3200
    San Francisco, CA 94104
    The Leaders in Internet Enabled Business Change
    * A Metamor Worldwide Company *
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Just thinking off the top of my head here, would a variation of (c) work.
    Launch Excel and trigger a macro that outputs the spreadsheet data as a CSV
    file to a known location. Once that completes, it becames a parsing problem
    as stated below. Or, extending this thought, if you have control over the
    spreadsheet, establish a macro to output the data in CSV format. And
    include in the procedure for accessing the spreadsheet a requirement to run
    this macro after every data change. (Maybe the macro initiation can be
    automated too.)
    my 1 1/2 cents worth....
    /\/\ark /\/ichols
    John Jamison <[email protected]> on 01/17/99 12:17:57 PM
    Please respond to John Jamison <[email protected]>
    To: "Askin, Serdar H" <[email protected]>
    cc: [email protected](bcc: Mark Nichols/SEH)
    Subject: Re: Import an Excel file
    Serdar,
    There are three approaches to this problem
    (a) use the excel spreadsheet as an ODBC data source
    (b) read the excel spreadsheet as a tab delimited text file
    (c) use OLE
    (a) this requires defining column headers for each "section" of data in the
    spreasheet, and
    naming each "section" of data. Thus it works for spreadsheets where you
    have tight control
    over the formatting & content, and not for arbitrary spreasheets. There
    are numerous drawbacks
    to this approach, most notably that the ODBC datasource controlled by
    the ODBC Manager
    sets the file name, and not the DBResourceManager (you have to copy your
    spreadsheet into
    a fixed name, hope the other one isn't open in another session, etc etc)
    Blech.
    (b) this requires a manual step which is to read the spreadsheet into Excel
    and save it to a
    different format, or have the spreadsheets saved as comma separated
    values format (csv),
    then it is simply a parsing problem...
    (c) this requires that you sublaunch Excel through OLE and access the data
    somehow
    (issue a "select all", "copy" - then paste the data into some text
    field in Forte and read it,
    or programmatically access the spreadsheets boundaries and individual
    cell data.
    Sounds like this would work best for "arbitrary" spreadsheets for
    which special formatting
    or exporting would be problematic.
    We have had success (using the word loosely here) with a and b and not had
    occasion to do c, though it will probably yield the best flexibility for
    the effort you'll have to
    put into getting it to work. The common perception about doing OLE
    integration is that
    you are at the mercy of the application to which you are integrating - the
    OLE APIs are not
    all universally well designed, implemented, nor documented, however since
    this is Excel you
    might have lots of retail technical books to help you.
    Part of the problem is that the Excel spreadsheet file is in a proprietary
    format only understood
    by Excel, therefore just "reading" the file will give you a whole bunch of
    garbage.
    Good luck,
    John
    At 03:55 PM 1/15/99 -0800, you wrote:
    >
    >
    Can anyone tell me how to import an Excel file from any directory into the
    Forte array?
    I need to do following scenario:
    In the Forte application when the user click on the "Select" button user
    selects an Excel file from the explorer window. Than I need to read that
    Excel file and load the data into the Forte array, and I'm going to usethe
    data in the program.
    If anyone has experience or any suggestions, please let me know.
    Thanks
    Serdar Askin
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>*******************************************************
    John Jamison [email protected]
    Vice President and Chief Technology Officer 415 399 7212
    Sage IT Partners, Inc. fax: 415 399
    7002
    44 Montgomery Street
    Suite 3200
    San Francisco, CA 94104
    The Leaders in Internet Enabled Business Change
    * A Metamor Worldwide Company *
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • Issue while exporting report in Excel Format

    Hello,
    I am facing problem while exporting the report in Excel Format. After analysis, I think that it could be due to two reasons, either we are using wrong versions of Jars, or we are using wrong API. Here is the code, approaches and problems we are facing. Please help.
    First approach we are using is:
    // using basic API
    import com.crystaldecisions.reports.sdk.ReportClientDocument;
    // get client document from crystal report API and open the report by specifying the report name, with path
                   ReportClientDocument reportClientDoc = new ReportClientDocument();
                   reportClientDoc.open( reportPath, 0 );
                   // give chance to extending classes to configure the report document by POJO or by sql parameter etc, just adding the parameters infromation using ParameterFieldController
                   configureReportDocument( reportClientDoc, reportMetadata, reportData, reportContext );
                   // get data source of crystal report
                   Object reportSource = reportClientDoc.getReportSource();
                   // export the data - we have also tried with MSExcel format
                   ReportExportFormat exportFormat =  ReportExportFormat.recordToMSExcel;
                   LOGGER.debug( "exportFormat[" + exportFormat + "]" );
                   ByteArrayInputStream byteArray = (ByteArrayInputStream) reportClientDoc.getPrintOutputController().export(
                             exportFormat );
    Problem Faced: Specified Excel format is not supported.
    Second Approach: We come to know that excel format is supported with new releases and with occa package.
    Then we tried with import com.crystaldecisions.sdk.occa.report.application.ReportClientDocument; It ask to set the ReportServer. When we are trying to set the server as
                   reportClientDoc.setReportAppServer(ReportClientDocument.inprocConnectionString);
    Application is unable to find 'ReportClientDocument.inprocConnectionString' property. It seems like we are using some old jars. However we have downloaded the latest released jars for eclipse 2.
    Please help for it. Issue is to export the report in excel format, which is currently working fine for PDF. If this problem is related to Jars, please suggest the path to download the latest jars. We also looking for the latest jars like rasapp and rascore etc. But these are not available with Crystal Report for Eclipse 2 release.
    Waiting for urgent help. Thanks you..
    Regards,
    Mohit

    Hi,
    Send me Environment Details .
    Here is the code  snippet for exporting report to excel format:
    <%@ page import="com.crystaldecisions.sdk.occa.report.application.*" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.definition.*" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.data.*" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.lib.*" %>
    <%@ page import="com.crystaldecisions.sdk.framework.*" %>
    <%@ page import="com.crystaldecisions.sdk.occa.managedreports.*" %>
    <%@ page import="com.crystaldecisions.sdk.occa.infostore.*" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.exportoptions.*" %>
    <%@ page import="java.util.*" %>
    <%@ page import="java.io.*" %>
    <%
    String username ="Administrator";
    String password ="";
    String cmsname ="localhost:6400";
    String Authen ="secEnterprise";
         //connecting to Enterprise
         IEnterpriseSession es = CrystalEnterprise.getSessionMgr().logon(username,password,cmsname,Authen);
         //get the report App Factory form the Crystal Enterprise
         IReportAppFactory appFactory = (IReportAppFactory) es.getService("","RASReportService");
         //get the infostore service form the Crystal Enterprise
         IInfoStore istore = (IInfoStore) es.getService("","InfoStore");
         //get the report by name from crystal Enterprise
         IInfoObjects iobjects = istore.query("Select * From CI_INFOOBJECTS Where SI_NAME = 'sampleramz2.rpt' and SI_INSTANCE = 0 ");
         //open the report in the report doc object.
         ReportClientDocument Doc = appFactory.openDocument((IInfoObject)iobjects.get(0), 0, Locale.ENGLISH);
         // WORKING WITH THE PRINT OUTPUT CONTROLLER
         //Use the report documents PrintOutputController to export the report to a ByteArrayInputStream
         ByteArrayInputStream byteIS = (ByteArrayInputStream)Doc.getPrintOutputController().export(ReportExportFormat.recordToMSExcel);
         // EXPORTING THE REPORT
         //Create a byte[] (same size as the exported ByteArrayInputStream)
         byte[] buf = new byte[2000 * 1024];
         int nRead = 0;
         //Set response headers to indicate pdf MIME type and inline file
         response.reset();
         response.setHeader("Content-disposition", "inline;filename=ramz");
         response.setContentType("application/xls");
         //Send the Byte Array to the Client
         while ((nRead = byteIS.read(buf)) != -1)
              response.getOutputStream().write(buf, 0, nRead);
         //Flush the output stream
         response.getOutputStream().flush();
         //Close the output stream
         response.getOutputStream().close();
    %>
    Let me know any information is needed,
    Regards,
    Rameez

  • Unable to import the excel template into form in HFM

    Has any one came across this issue that I am facing now?
    I have a form in HFM and I exported the form to Excel and the export works fine. but when I import the excel template into form, it was not successful. I have 250 rows in the template. I deleted 50 rows and tried to import and it worked fine . Is there any row limit on this?
    Below here is the error message that I am getting
    An error occured. Please contact your administrator
    Error Number: - 2147467259
    Error Description:007~Unexpected error~The function returned |.
    Error SOrce: request Object
    Page on which error occured:/hfm/data/processImportWdeffromExcel.asp
    I appreciate any ideas on this

    What version of HFM and Excel?
    Make sure you honor the file extension requirements for 2007 docs and import the same as they are exported.

  • Exporting report to Excel format

    We try to implement automated export to Excel Format but Crystal Report XI Java runtime doesnu2019t support export to Excel Format but pdf.
    Do I need to migrate to Crystal Report Eclipse 2.0 for exporting report in Excel format?
    Or I can deploy the Crystal Report Eclipse 2.0 Java runtime only for exporting to Excel Format?

    As I know, you can easily export the data from an MS Access Report to Excel, but it's really hard to get the formats exported along with the data, or just not doable at all. 
    Please see these links:
    http://www.howtogeek.com/howto/microsoft-office/export-an-access-2003-report-into-excel-spreadsheet/
    http://www.access-programmers.co.uk/forums/showthread.php?t=143884
    Also:
    https://social.msdn.microsoft.com/Forums/office/en-US/826a30c5-775e-4a51-b639-2ffb046bfe85/formatted-access-report-to-excel
    Also, keep in mind...it's easy to export the data from a report to Excel.  You can certainly setup Excel as a template, which has all the formatting applied and just sits on your disk drive...somewhere...waiting for you to dump new data into it from
    a new report...whenever you need it.
    Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.

  • Exporting report to excel format via VBA to work in 2007 runtime

    Hi
    What code can I use to export a report to excel format file which will work in Access 2007 runtime?
    Thanks
    Regads

    As I know, you can easily export the data from an MS Access Report to Excel, but it's really hard to get the formats exported along with the data, or just not doable at all. 
    Please see these links:
    http://www.howtogeek.com/howto/microsoft-office/export-an-access-2003-report-into-excel-spreadsheet/
    http://www.access-programmers.co.uk/forums/showthread.php?t=143884
    Also:
    https://social.msdn.microsoft.com/Forums/office/en-US/826a30c5-775e-4a51-b639-2ffb046bfe85/formatted-access-report-to-excel
    Also, keep in mind...it's easy to export the data from a report to Excel.  You can certainly setup Excel as a template, which has all the formatting applied and just sits on your disk drive...somewhere...waiting for you to dump new data into it from
    a new report...whenever you need it.
    Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.

Maybe you are looking for