Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
how can I save sheets from VBA in .txt format withou any TAB delimited ? Tom |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Tom
See Chip's code at http://www.cpearson.com/excel/imptext.htm scroll down to the Export part of the page. HTH. Best wishes Harald "Tom" skrev i melding ... Hi, how can I save sheets from VBA in .txt format withou any TAB delimited ? Tom |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
activeworkbook.SaveAs "C:\Mybook.prn", Fileformat:=xlTextPrinter
-- Regards, Tom Ogilvy "Tom" wrote in message ... Hi, how can I save sheets from VBA in .txt format withou any TAB delimited ? Tom |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
If you do a Workbook.SaveAs you can specify the file format you want. I
assume you want either xlTextMSDOS, xlTextWindows, or xlUnicodeText. The simple form is: ThisWorkbook.SaveAs("SaveFile.txt", xlTextWindows) But for full details see Excel VBA help on the SaveAs method. "Tom" wrote: Hi, how can I save sheets from VBA in .txt format withou any TAB delimited ? Tom |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Dosnt work, there are still TABs.
"K Dales" wrote in message ... If you do a Workbook.SaveAs you can specify the file format you want. I assume you want either xlTextMSDOS, xlTextWindows, or xlUnicodeText. The simple form is: ThisWorkbook.SaveAs("SaveFile.txt", xlTextWindows) But for full details see Excel VBA help on the SaveAs method. "Tom" wrote: Hi, how can I save sheets from VBA in .txt format withou any TAB delimited ? Tom |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Lock Cell Format - Allow copy and paste of data without format change | Excel Worksheet Functions | |||
Adding time in 24 hour format to produce hours in decimal format | Excel Worksheet Functions | |||
Need help with converting CUSTOM format/TEXT format to DATE format | Excel Worksheet Functions | |||
Replace million-billion number format to lakhs-crores format | Excel Discussion (Misc queries) | |||
how to format excel format to text format with separator "|" in s. | New Users to Excel |