Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 55
Default Export txt file problem

When I export txt file (ActiveWorkbook.SaveAs FileName:="Result.txt",
FileFormat:=xlText) quotes appear in txt file:
"Cell A1 Cell A2 ... Cell An"

How can I get txt file without quotes:
Cell A1 Cell A2 ... Cell An

Regards,
Oscar.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Export txt file problem


Try saving as a Comma Separated Value file (.csv)
You will have commas in the data but no quotes.


--
bgeier
------------------------------------------------------------------------
bgeier's Profile: http://www.excelforum.com/member.php...o&userid=12822
View this thread: http://www.excelforum.com/showthread...hreadid=541581

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Export txt file problem

Use the FileFormat property xlTextWindows. It will save the text without
adding the quotes.

"Oscar" wrote:

When I export txt file (ActiveWorkbook.SaveAs FileName:="Result.txt",
FileFormat:=xlText) quotes appear in txt file:
"Cell A1 Cell A2 ... Cell An"

How can I get txt file without quotes:
Cell A1 Cell A2 ... Cell An

Regards,
Oscar.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Export txt file problem

This is not correct. xlTextWindows saves with the Quotes. Sorry.

"Buster" wrote:

Use the FileFormat property xlTextWindows. It will save the text without
adding the quotes.

"Oscar" wrote:

When I export txt file (ActiveWorkbook.SaveAs FileName:="Result.txt",
FileFormat:=xlText) quotes appear in txt file:
"Cell A1 Cell A2 ... Cell An"

How can I get txt file without quotes:
Cell A1 Cell A2 ... Cell An

Regards,
Oscar.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
export re-order input fields to export file [csv] madisonpete Excel Worksheet Functions 0 November 30th 07 03:51 PM
I need to export.xls file to .csv file for fedex address book eeyore1943 Setting up and Configuration of Excel 0 September 20th 05 11:20 PM
Export excel file to semicolon delimited text file capitan Excel Discussion (Misc queries) 5 April 7th 05 03:06 AM
How do I import text file, analyze data, export results, open next file Geoffro Excel Programming 2 March 6th 05 08:02 PM
Export file problem for TXT file. shital shah Excel Programming 1 January 24th 05 11:14 AM


All times are GMT +1. The time now is 03:34 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"