Creating A Macro to export data to another workbook!

yorkie287

New Member
Joined
Jun 14, 2011
Messages
9
I have a list of approximately 200 entries made up of the customer details charges, weight of products etc,

e.g.

ticket no>customer name>>product weight> rebate >>>source

122 >>>>customer A >>>>>30000kg >>>>>>£500 >>>>customer a yard
123>>>> customer B >>>>>12000kg >>>>>>>£0 >>>>>>outside yard
124>>>> customer C >>>>>12560kg >>>>>>£250>>>>> customer c yard
125>>>> customer B >>>>>13444kg>>> >>>>£300>>>>> outside yard
126>>>> customer C >>>>>16252kg>>> >>>£100>>>>> customer c yard
127>>>> Customer A >>>>>15452kg >>>>>>£50 >>>>>>customer a yard

this is just an example of the list i have infront of me, i would like to create a macro that collects all customer A data together, all customer B data together, and all customer C data together and then exports them either to indiviual workbooks or just to new sheets within the same workbook,

thanks for taking time to look at this
all feedback/help is welcomed
oli
 
Last edited:

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

Forum statistics

Threads
1,216,091
Messages
6,128,772
Members
449,468
Latest member
AGreen17

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