+ Reply to Thread
Results 1 to 5 of 5

Macro to Copy Data from one Sheet A to Sheet B based on value in cell on sheet A

  1. #1
    Registered User
    Join Date
    09-09-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    12

    Macro to Copy Data from one Sheet A to Sheet B based on value in cell on sheet A

    Hi All

    I am a novice when it comes to VBA in excel and I have the below problem I am trying to solve.

    I am trying to get a Macro to copy the data from sheet B to sheet A that matches the value of a cell in Sheet A.
    I did try a lookup function but it just returns the same info over and over.

    Any help would be appreciated.

    Thanks

    Tony

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Macro to Copy Data from one Sheet A to Sheet B based on value in cell on sheet A

    Do you have a sample file that you can upload?

    To Attach a File:

    1. Click on Go Advanced
    2. In the frame Attach Files you will see the button Manage Attachments
    3. Click the button.
    4. A new window will open titled Manage Attachments - Excel Forum.
    5. Click the Browse... button to locate your file for uploading.
    6. This will open a new window File Upload.
    7. Once you have located the file to upload click the Open button. This window will close.
    8. You are now back in the Manage Attachments - Excel Forum window.
    9. Click the Upload button and wait until the file has uploaded.
    10. Close the window and then click Submit.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    09-09-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Macro to Copy Data from one Sheet A to Sheet B based on value in cell on sheet A

    Hi

    Please find attached now a sample of the file i am trying to sort out.

    I have a user form to input the data which goes to the MasterJumpList worksheet.

    I then have multiple worksheets starting with J1 through to J17.

    What i am after is a macro or something that will query the data on MasterJumpList and populate it to the correct worksheet.

    Any help would be appreciated.

    There other option could be to have the user form populate the information to the correct sheet when inputing it and also onto the MasterJumpList sheet.

    Anyway thanks for your assistance with this.

    Regards

    Tony
    Attached Files Attached Files

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Macro to Copy Data from one Sheet A to Sheet B based on value in cell on sheet A

    Here is your updated new_record button code -
    Please Login or Register  to view this content.
    It copies data to the respective sheet and the master sheet.

  5. #5
    Registered User
    Join Date
    09-09-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Macro to Copy Data from one Sheet A to Sheet B based on value in cell on sheet A

    Thanks Arlette
    that worked a treat.

    again thanks

    Tony

+ 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