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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you convert a CSV file to XLS in VB6?

Status
Not open for further replies.

StuH

Programmer
Mar 25, 2001
53
AU
Hi all,

I have a need to convert a plain simple CSV file into an Excel spreadsheet using VB6. I cannot guarantee tha EXCEL will be installed on the PC running the app, so opening the CSV in Excel and Save as Excel Spreadsheet is not an option.

Any clues?

Thanks.

Stu.
 
If you want to do this without the Excel engine, you will need to look deep into the .xls file format

Try Wotsit:

which gives details of loads of file formats.

warning: low level file construction can seriously give you a headache!
[smile]
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'People who live in windowed environments shouldn't cast pointers.'
 
Hi John,

Thanks, but I did look there first and that's why I'm asking for a simpler answer! ;)

Has no-one written a little DLL that does it? Hmmm? Pretty please? OK - I know it's an obscure question...

Thanks,

Stu.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top