Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2004

    Unanswered: Form Submission to Excel

    I have a form whose data I want submitted to an excel spreadsheet but I don't know how to do this. My form is written in asp and I've set it up so that when the "Submit" button is pressed the php script is called, I just don't know what code to put in the php file. Can someone help me or point me in the right direction of where I can get some sample code from?

  2. #2
    Join Date
    Feb 2002
    San Francisco, CA
    What do you mean by "excel speadsheet" - do you mean an actual xls file? or just something that can be opened by excel easily?

    If the latter - just write the data into a comma seperated file and name it something.csv - this will be openable by excel.

    CSV files are easy - and look something like this each line is a row, and each value is a column - sperated by commas:

    12, 13, 14
    42, 32, 12
    41, 34, 54

    If its the former problem, I seem to remeber there is a library to do it, or try com.

Posting Permissions

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