+ Reply to Thread
Results 1 to 2 of 2

Copy Data from Multiple Worksheet to Master Worksheet

  1. #1
    Registered User
    Join Date
    06-07-2009
    Location
    UAE
    MS-Off Ver
    Excel 2003
    Posts
    61

    Copy Data from Multiple Worksheet to Master Worksheet

    Dear All,

    I have a File in which there are different worksheets are there with Each Equimpment Code as Sheet Name, Now i want to Copy the certain fields in Master file based on the Equimpment Code, sample file attached for your ready reference, please help me as the items are more than 100 and i cannot enter the formulas manually for each sheet
    Attached Files Attached Files

  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: Copy Data from Multiple Worksheet to Master Worksheet

    Try this code. It puts in formulae into each cell from A2 to column V last row of the file. It then does a paste special values on the formlae. if you do not want the paste special values, just remove the 3rd & 4th rows from down.
    Please Login or Register  to view this content.
    You need to change the sheet names having "-" to "_". The formulae wont work where there is a "-".

    Copy the Excel VBA code
    Select the workbook in which you want to store the Excel VBA code
    Hold the Alt key, and press the F11 key, to open the Visual Basic Editor
    Choose Insert | Module
    Where the cursor is flashing, choose Edit | Paste

    To run the Excel VBA code:
    Choose Tools | Macro | Macros
    Select a macro in the list, and click the Run button
    Last edited by arlu1201; 07-02-2012 at 08:20 AM.
    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]

+ 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