How to export c output to excel

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • JOSEPHba
    New Member
    • Dec 2013
    • 1

    How to export c output to excel

    I've got a program in C that creates DATA. I need to export the DATA to excel, so I can re export to Access and use in the data base.

    I also need to run the Builder in the C++ file every 5 minutes to generate the DATA based on time. How can I do that ?
  • weaknessforcats
    Recognized Expert Expert
    • Mar 2007
    • 9214

    #2
    The easiest way to so this is to create a text file in your C program with an extension of .csv.

    A csv file is just a text file with comma-separated values. Each record in the file is an Excel row and each value between commas, is a column.

    You then bring up Excel and import the .cav file from the Excel menu.

    There are other Excel supported formats.

    Comment

    • zmbd
      Recognized Expert Moderator Expert
      • Mar 2012
      • 5501

      #3
      Also, the CSV could be directly imported into Access - or indeed, the code could be written to connect to the database directly. Developing Access 2007 Solutions with Native C or C++ (Office 2007 )

      We also ask that there be only one question per thread.

      Comment

      Working...