+ Reply to Thread
Results 1 to 4 of 4

Macro to save a cell value from multiple worksheets

  1. #1
    Forum Contributor
    Join Date
    12-15-2012
    Location
    Chennai
    MS-Off Ver
    Excel 2010
    Posts
    202

    Macro to save a cell value from multiple worksheets

    hello all,

    I have a excel file in which it contains 11 worksheets.
    It has one master sheet and 10 customer sheets.
    This file is used for my finance company.
    In the customer worksheet I have the following fields,
    - Account number
    - Name
    - Loan amount
    - Paid
    - Pending

    I need to copy the values from all the 10 sheets to the master sheet.
    - Ac number - Name - Paid - Pending
    Row one should contain details of ac number 1 and row 2 should contain details of ac number 2 and so on.

    How to make it possible.

    Kindly help me.

    Sample file attached.
    Attached Files Attached Files

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Macro to save a cell value from multiple worksheets

    naga,

    Attached is a modified version of your posted workbook.
    In the 'MASTER' sheet, there is a button labelled "Update"
    Clicking on that button will run the following code:
    Please Login or Register  to view this content.

    Does that work for you?
    Attached Files Attached Files
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Forum Contributor
    Join Date
    12-15-2012
    Location
    Chennai
    MS-Off Ver
    Excel 2010
    Posts
    202

    Re: Macro to save a cell value from multiple worksheets

    Wow.
    This is what I was looking exactly.
    Thank you so much for the immediate help.
    So kind of you Tiger.

  4. #4
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Macro to save a cell value from multiple worksheets

    FWIW

    Please Login or Register  to view this content.

+ 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