Click to See Complete Forum and Search --> : How to convert data from C++ program in to Excel or Word array ?


July 20th, 1999, 07:46 AM
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

Dennis Jump
July 20th, 1999, 09:16 AM
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