CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Guest

    How to convert data from C++ program in to Excel or Word array ?

    Hi!

    Is there anyway to make simple Excel or Word array file with C++ ? Is there any functions or procedures for that ? If there isn't I guess I would appreciate if somebody gave me Word or Excel file's format.

    Antti Pulkkinen


  2. #2
    Join Date
    Jun 1999
    Posts
    26

    Re: How to convert data from C++ program in to Excel or Word array ?

    the most simple method is to write your data in comma delimited format -- that is, separate all of the data fields with commas -- each record on a single line with multiple fields:
    123,words,23.34,tuesday
    for convenience, set the filename to have the file extension:".csv"
    use the File Open dialog in excel to read in the file (find the TEXT file type in the dialog)
    Dennis


Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured