Save as space delimited file from VBA

  • Thread starter Thread starter Nash
  • Start date Start date
N

Nash

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
 
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top