Macro to copy highlighted cells to csv file

M

Martin

I need a macro to copy all cells that are selected then paste them onto a
csv file. I'm able to get the cell range using Selection.Address but how do
I copy them onto a csv file?

Thanks.
 
J

Jim Rech

The simplest way would probably be to copy the selection to a new workbook
and then save the active sheet as a CSV.

--
Jim
|I need a macro to copy all cells that are selected then paste them onto a
| csv file. I'm able to get the cell range using Selection.Address but how
do
| I copy them onto a csv file?
|
| Thanks.
|
|
 

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

Top