VBA macro for locating cells with an agent number

brossetti1

New Member
Joined
Jul 7, 2011
Messages
7
Hello Mr. Excel forum goers,

I have a report that I download on the first of every month organized by sales agent (Agent 101, Agent 102, etc.). Every month I download one excel sheet with sales associated with the specific sales agent and I manually seperate this data into seperate sheets by sales agent. I want to automate the process of seperating the sales agent data into seperate sheets but I dont know how to tell excel to look in the "sales agent" column and find each change in sales agent. Can anyone help me with this part of the automation process?

on a side note, Thank you to everyone on this forum, you guys are awesome and I find myself constantly using this board to help me with my work.:biggrin:

PS I am new to posting. If there is a "best practice" for what type of information a poster needs to give that is not clear in the post above, please let me know so I can get my act straight.

Brian
 
Last edited:

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.

Forum statistics

Threads
1,224,583
Messages
6,179,681
Members
452,937
Latest member
Bhg1984

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