Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel

Status
Not open for further replies.

fergmj

Programmer
Feb 21, 2001
276
US
I am trying to create files and get files in excel format through my VB app. Can anyone tell me the file format? I don't want to start Excel, i just want to create database files in .xls format that I can later open in Excel if I need to.

Thanks

fergmj
 
Can you use CSV files instead? A lot easier to format if all you are saving is data.
 
Can you explain what you mean? I could save it with any extension, but I am looking for the way I need to write the information to the file (the format).

Thanks

fergmj
 
.CSV files are comma-delimited text files.

The format is simply the fields seperated by commas with a carraige return between records.

Excel usually is the default viewer for csv files. Although they can be viewed in Notepad. If you open an Excel worksheet, save it in csv format and open it in Notepad you will see how to format it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top