+ Reply to Thread
Results 1 to 3 of 3

Thread: How do you generate an Excel file?

  1. #1

    Default How do you generate an Excel file?

    Clifton, I think the easiest way will be generate coma separated file. This file can be converted by Excel to .xsl file.

  2. #2
    Guest.Visitor Guest

    Default How do you generate an Excel file?

    I know you can create an Excel formatted file from a AS/400 db file via Client Access. What I was wondering is wether this conversion can be done on the AS/400 via some API. What I'm talking here is Excel format and not CSV Excel readable. Has anybody ever done this or pondered doing this before? I imagine that there is some API (maybe a codepage value on CPYTOSTMF?) that would allow this. Thanx in advance for any thoughts.

  3. #3
    Guest.Visitor Guest

    Default How do you generate an Excel file?

    I haven't tried this but there are two ways I can think of that might work: 1. Install Excel in a folder on the IS and run a transfer script to put the file into Excel and start a Macro to save the file. 2. Do a RUNPCCMD and start Excel and a macro to start the transfer script, run the transfer and save the file. Either way in order to get the data to become and Excel file it will have to be brought into Excel and saved as an Excel file.

+ Reply to Thread

Similar Threads

  1. How to generate PRN file on AS/400
    By tenwang in forum Document Management
    Replies: 1
    Last Post: 04-08-2009, 06:45 PM
  2. Replies: 3
    Last Post: 06-26-2006, 07:56 AM
  3. Download Excel file to AS400 Physical File
    By Guest.Visitor in forum Networking
    Replies: 9
    Last Post: 10-19-2001, 02:15 PM
  4. Generate Random Number
    By Guest.Visitor in forum Programming
    Replies: 10
    Last Post: 05-10-2001, 02:50 AM
  5. Generate Unique file name
    By vrozen1 in forum Application Software
    Replies: 0
    Last Post: 01-01-1995, 02:00 AM

Posting Permissions

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