+ Reply to Thread
Results 1 to 8 of 8

Copying data from multiple work sheets to a master sheet

  1. #1
    Registered User
    Join Date
    11-25-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    3

    Question Copying data from multiple work sheets to a master sheet

    I am trying to create a stock register and i want to copy data from a particular cell of each sheet to a master sheet as shown in attachment.i searched and found some code suitable and works good if the particular cell contains only a number or any text. but if the data in the particular cell is the result of some arithmetic formula, then the copy result is zero. i am new to vba.

    for example in the attached file, in sheet 2 , if the cell B2 is the result of C2-D2, the result in Master sheet (ie C2) is 0. if it is not a result of any formula (simple number/Text), then it will get correctly displayed in Master sheet..

    Kindly suggest a solution pls.
    Thanks in advance.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Copying data from multiple work sheets to a master sheet

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    08-23-2012
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2010
    Posts
    57

    Re: Copying data from multiple work sheets to a master sheet

    Do you necessarily need to use VBA?

    Pull the number via cell reference. From another workbook:
    Please Login or Register  to view this content.
    From the same workbook:
    Please Login or Register  to view this content.
    Last edited by thinkspac; 11-25-2012 at 03:51 PM.
    A macro does what you tell it, not what you want.

  4. #4
    Registered User
    Join Date
    11-25-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Copying data from multiple work sheets to a master sheet

    Thanks a lot sir.. it helped me to complete my project.. a million thanks...

  5. #5
    Registered User
    Join Date
    11-25-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Copying data from multiple work sheets to a master sheet

    thanks. i know how to take data from a sheet of same work book but not know how to take data from another workbook..actually i am new to exel programming..anyway thank you sir..

  6. #6
    Registered User
    Join Date
    09-11-2012
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Copying data from multiple work sheets to a master sheet

    Hi, the code you have provided will also work for what I need to do, but I've only ever done this once and can't remember the steps to insert this into excel. It would be great if you could advise!

    Thanks in advance.

  7. #7
    Registered User
    Join Date
    09-11-2012
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Copying data from multiple work sheets to a master sheet

    Hi, the code you have provided will also work for what I need to do, but I've only ever done this once and can't remember the steps to insert this into excel. It would be great if you could advise!

    Thanks in advance.

  8. #8
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Copying data from multiple work sheets to a master sheet

    Carrrie,
    We would help, but you need to post it a new thread. It is against the rule of this forum to post on someone's thread.
    So, please start your own thread and if possible attach a sample book with a desired result.

+ 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