ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Help with code please (https://www.excelbanter.com/excel-discussion-misc-queries/17904-help-code-please.html)

Thrava

Help with code please
 
I have a long list here and manually doing this will take
couple of hours. Please help with a vba code if you can.

I have a list of customers in about 60 different
territories. this list is in sheet1. I want to run a
code that cuts and pastes all customers in each individual
territory into a newly added sheet.

Column B the list of territories. I have data from column
A to R.

can anyone share with me the full code that I can just
paste in vba window and run?
Thanks so so much.. this will save me bunch of time.

Gord Dibben

Thrava

Try this code from Ron de Bruin.

http://www.rondebruin.nl/copy5.htm#all


Gord Dibben Excel MVP

On Wed, 16 Mar 2005 09:07:56 -0800, "Thrava"
wrote:

I have a long list here and manually doing this will take
couple of hours. Please help with a vba code if you can.

I have a list of customers in about 60 different
territories. this list is in sheet1. I want to run a
code that cuts and pastes all customers in each individual
territory into a newly added sheet.

Column B the list of territories. I have data from column
A to R.

can anyone share with me the full code that I can just
paste in vba window and run?
Thanks so so much.. this will save me bunch of time.



Thrava

Thanks I'll try it.
-----Original Message-----
Thrava

Try this code from Ron de Bruin.

http://www.rondebruin.nl/copy5.htm#all


Gord Dibben Excel MVP

On Wed, 16 Mar 2005 09:07:56 -0800, "Thrava"
wrote:

I have a long list here and manually doing this will

take
couple of hours. Please help with a vba code if you can.

I have a list of customers in about 60 different
territories. this list is in sheet1. I want to run a
code that cuts and pastes all customers in each

individual
territory into a newly added sheet.

Column B the list of territories. I have data from

column
A to R.

can anyone share with me the full code that I can just
paste in vba window and run?
Thanks so so much.. this will save me bunch of time.


.



All times are GMT +1. The time now is 07:31 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com