+ Reply to Thread
Results 1 to 5 of 5

Need Macro that pulls Data from one sheet and pastes into other specific sheets

  1. #1
    Registered User
    Join Date
    07-02-2012
    Location
    Kansas
    MS-Off Ver
    Excel 2007
    Posts
    2

    Need Macro that pulls Data from one sheet and pastes into other specific sheets

    I have all data in one sheet and need to find specific data and paste that into specific sheets. Is there a macro that will help me do this?

    For example:
    On my 'Data' sheet I have Agent names (A1:A:500), Cells B1:K500 contains all customer information.

    I want to take specific agent names and their customers and paste the customer information in rows of agent names tab. (Along the bottom I have different sheets for each agent name and their customers information inside)

    So, I want to take Agent John Doe's customers information from my Data sheet and paste that information into John Doe's specific sheet.(This sheet could be created with a macro, or dumped into an existing agent named sheet.)

    Thanks for any help or suggestions.

  2. #2
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Need Macro that pulls Data from one sheet and pastes into other specific sheets

    Welcome to the Forum.

    See if you can adapt this code - no error handling, brielfy tested and assumes exact match between sheet names and agent names on data sheet.

    Please Login or Register  to view this content.
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

  3. #3
    Registered User
    Join Date
    05-27-2012
    Location
    langkawi
    MS-Off Ver
    2007
    Posts
    46

    Re: Need Macro that pulls Data from one sheet and pastes into other specific sheets

    hi palmetto
    thats macro script works but for along row a1.

    so if i got data on a2, a3 and so on, what on that script i need change?

    thanks for ur expertise on excel vba

    abu

  4. #4
    Registered User
    Join Date
    05-27-2012
    Location
    langkawi
    MS-Off Ver
    2007
    Posts
    46

    Re: Need Macro that pulls Data from one sheet and pastes into other specific sheets

    hi palmetto
    i got it, i just need to change range for a1 to range of row i need to copy.
    thanks for ur expertise on excel vba

    abu

  5. #5
    Registered User
    Join Date
    07-02-2012
    Location
    Kansas
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Need Macro that pulls Data from one sheet and pastes into other specific sheets

    Can you expand on that Alimamak?

    When I try to run this macro, my title page on all agent sheets just copies down as I change the A1 to various ranges.
    There is no title on the Data page that I am trying to pull agent info from.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1