Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Save as space delimited file from VBA

Hi,
I'd like to save my file from VBA, but as a space delimited file,
i.e.with a single space between cell values. Does any of xlFileFormat
values produce this result? I really don't feel like testing each
one...

TIA,
Nash

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 694
Default Save as space delimited file from VBA

Hi

I don't think that you can do it but there are a couple of options that I
can think of to solve it:

1. As as a CVS and then convert all commas to spaces (although this may
cause problems with other commas in the file.

2. save as a .prn formated text file and then delete mutliple spaces.

Have a think about or see what others come up with.

--
Hope this helps
Martin Fishlock, Bangkok, Thailand
Please do not forget to rate this reply.


"Nash" wrote:

Hi,
I'd like to save my file from VBA, but as a space delimited file,
i.e.with a single space between cell values. Does any of xlFileFormat
values produce this result? I really don't feel like testing each
one...

TIA,
Nash


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
How can I save a 40meg 26,000 row file to Space Delimited format Thanks - KVH Excel Discussion (Misc queries) 1 October 31st 08 04:56 PM
Lost columns in formated text (space delimited) save Jeff Clark Excel Worksheet Functions 10 March 17th 08 04:45 PM
Output space-delimited file with quotes around text? Sinc Excel Discussion (Misc queries) 1 December 5th 06 11:02 PM
Parsing a space delimited file into segments robinsgate Excel Discussion (Misc queries) 6 March 18th 05 09:51 PM
HOW DO I EDIT AN EXISTING FILE TO BE SPACE DELIMITED? cf Excel Discussion (Misc queries) 1 February 18th 05 05:29 PM


All times are GMT +1. The time now is 01:56 AM.

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"