Hi.. If the the contents in the csv are "|" (pipe) seperated how do I convert it to excel ??
Thanks On Tuesday, 21 November 2006 22:08:40 UTC, Dmitry Motevich wrote: > > The following code converts CSV file to XLS file. > > Function ConvertCSVFiletoXLS File(sSrcFile, sDestFile) > Const xlWorkbookNormal = -4143 > Set oExcel = CreateObject( "Excel.Applicati on") > oExcel.DisplayAlert s = False > oExcel.Workbooks. Open(sSrcFile) > oExcel.ActiveWorkbo ok.SaveAs sDestFile,xlWorkboo kNormal > oExcel.Workbooks. Close() > set oExcel =Nothing > End Function > > Using: > ConvertCSVFiletoXLS File "C:\sampls.csv" , "C:\sample.xls" > > -- > Dmitry Motevich > > -- -- You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups "QTP - HP Quick Test Professional - Automated Software Testing" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
