export XLS to CSV with particular delimiter

  • Thread starter Thread starter Alain R.
  • Start date Start date
A

Alain R.

Hi,

I would like to know how can i export content of XLS file to CSV
specifying the delimiter will not be "," (comma) but ";"(semicolon) ?

thanks a lot,

Al.
 
You can change your windows list separator to a semicolon.

Go to windows control panel, regional and language options|Regional options tab
then click customize and look for List separator on the Numbers tab.

I'd change it back when you're done--it's a windows setting and you may not like
it as your default.

Another option would be to use a macro.

You could use a macro and write code and have complete control over what you
write.

Here are three sites that you could steal some code from:

Earl Kiosterud's Text Write program:
www.smokeylake.com/excel
(or directly: http://www.smokeylake.com/excel/text_write_program.htm)

Chip Pearson's:
http://www.cpearson.com/excel/imptext.htm

J.E. McGimpsey's:
http://www.mcgimpsey.com/excel/textfiles.html

Earl's program may work right out of the box.
 
Although folks are free to steal code from my Text Write Program, I wanted to point out that
it's a ready-to-use utility, if you want to run it that way. Fill in the blanks and run
it -- it'll write the text file from your sheet. Or you can take the whole module, plug in
your specs for how you want the text file written (from the setup sheet), and run it in your
code.
--
Earl Kiosterud
www.smokeylake.com

Note: Top-posting has been the norm here.
Some folks prefer bottom-posting.
But if you bottom-post to a reply that's
already top-posted, the thread gets messy.
When in Rome...
-----------------------------------------------------------------------
 
I tried to say that with this line:

<bg>

Earl said:
Although folks are free to steal code from my Text Write Program, I wanted to point out that
it's a ready-to-use utility, if you want to run it that way. Fill in the blanks and run
it -- it'll write the text file from your sheet. Or you can take the whole module, plug in
your specs for how you want the text file written (from the setup sheet), and run it in your
code.
--
Earl Kiosterud
www.smokeylake.com

Note: Top-posting has been the norm here.
Some folks prefer bottom-posting.
But if you bottom-post to a reply that's
already top-posted, the thread gets messy.
When in Rome...
 
Dave,

So you did, so you did. I didn't notice it down there, and thought you'd stopped saying it.
Just blowing my horn! :)
 
It depends on how much I copy and paste <bg>.

Earl said:
Dave,

So you did, so you did. I didn't notice it down there, and thought you'd stopped saying it.
Just blowing my horn! :)
 
Back
Top