Creating CSV export file based on record grouping

jaxmax

New Member
Joined
Jun 25, 2004
Messages
1
Please help!

I'm trying to create a csv export file to import into another app, and am horribly stuck. The usual export function works fine for single line records, but when there are multiple lines within the same record (in this instance, I'm trying to export invoice details) it all turns to custard!

How do I select values to group on in VB mode, and then collect all the records within the range to list as subsequent strings, rather than new records?
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
I am not sure that this is quiet what you are after but have you tried creating your invoice in a report and exporting that as a text file?

Peter
 
Upvote 0
Have you tried selecting the information that you want in a query and then exporting the query results to the csv file?
 
Upvote 0

Forum statistics

Threads
1,221,713
Messages
6,161,463
Members
451,708
Latest member
PedroMoss2268

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top