I am working on my first substantial VB .NET progam and I need to convert (or copy) a CSV file to XLS from within the program. Is there an easy/straightforward way to do this?
Thanks.
Convert a .CSV to .XLS using VB .Net
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Hirendra SisodiyaRank #256 · 9.8K pointsPosted Jan 4, 2010, 7:07 PM EST
You can try:
FileCopy csvPath, xlspath & "test.xls"
Thank you
Ivan Vasilyev10 pointsPosted Jun 16, 2014, 4:23 AM EDT
ExcelFile.Load("file.csv").Save("file.xls")
I used this VB.NET component for excel manipulations.
1 short reply
George Hayes2 pointsPosted Jan 7, 2010, 9:09 AM EST
Thanks.