Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Convert Excel to text in VB6
How to save an Excel file to a Text using Visual basic 6.0
Can we get examples? Thanks |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Convert Excel to text in VB6
Dim xlApp as Object
Dim xlBk as Object set xlApp = CreateObject("Excel.Application") set xlBk = xlApp.workbooks.Open("C:\My Folder\MyFile.xls") On error resume next kill "C:\My Folder\MyTextFile.CSV" On Error goto 0 xlBk.SaveAs "C:\My Folder\MyTextFile.csv", 6 ' xlCSV = 6 xlbk.Close Savechanges:=False set xlbk = Nothing xlApp.Quit set xlApp = Nothing -- Regards, Tom Ogilvy "JT" wrote in message ... How to save an Excel file to a Text using Visual basic 6.0 Can we get examples? Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How do I convert mun to text in excel | Excel Worksheet Functions | |||
convert text to number in excel | Excel Worksheet Functions | |||
How do I convert a text array to a concatenated text cell? Excel. | Excel Worksheet Functions | |||
number convert to text in excel | Excel Discussion (Misc queries) | |||
Convert Excel to text | Excel Programming |