+ Reply to Thread
Results 1 to 5 of 5

Loop through each sheets in the workbook to find specific cell on my table

  1. #1
    Forum Contributor
    Join Date
    04-09-2013
    Location
    Philippines, Manila
    MS-Off Ver
    Excel 2010
    Posts
    140

    Loop through each sheets in the workbook to find specific cell on my table

    Hi Guys,

    Hope someone could help me with looping regarding (for each cell in the column A (sheet 16), loop in all sheet to find it and the value should be column B)

    My problem is somehow similar to VLOOKUP in the sense that I have a workbook with 15 sheets (each sheets contains 1 Million rows) and 1 Sheet for my summary.

    On my summary, I have Column A (with 100 lines). What I would like to do is to search each item on this column in all 15 sheets of the workbook and once identified, the cell value will be the cell value beside it (column b).

    Thank you in advance,

    Regards
    Attached Files Attached Files
    Last edited by Jarvin24; 10-26-2016 at 05:39 AM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2407 Win 11 Home 64 Bit
    Posts
    24,086

    Re: Loop through each sheets in the workbook to find specific cell on my table

    Air code - untested as no workbook provided by OP to test.

    Please Login or Register  to view this content.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Contributor
    Join Date
    04-09-2013
    Location
    Philippines, Manila
    MS-Off Ver
    Excel 2010
    Posts
    140

    Re: Loop through each sheets in the workbook to find specific cell on my table

    Thank you Alan for taking sometime to look on my problem. You got what I want to do but the code is not working.

    I attached the sample working file for your reference and hope you could review it to match the code.

    Regards,

    ^_^

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2407 Win 11 Home 64 Bit
    Posts
    24,086

    Re: Loop through each sheets in the workbook to find specific cell on my table

    Thanks for posting a sample worksheet. I have modified the code slightly and tested. This new code works on the example as required.

    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    04-09-2013
    Location
    Philippines, Manila
    MS-Off Ver
    Excel 2010
    Posts
    140

    Re: Loop through each sheets in the workbook to find specific cell on my table

    Awesome! Thank youuuuuuuuuuuuuuu....

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 7
    Last Post: 03-23-2016, 09:54 AM
  2. Replies: 3
    Last Post: 12-28-2015, 08:14 AM
  3. Replies: 0
    Last Post: 07-24-2014, 09:11 AM
  4. [SOLVED] Macro to copy a specific cell and paste in another cell, for all sheets in workbook
    By lyoung1124 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-02-2014, 10:15 AM
  5. [SOLVED] Loop codes through multiple sheets (not all sheets in workbook)
    By hcyeap in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-18-2014, 02:11 AM
  6. [SOLVED] loop action through all sheets in workbook skipping certain sheets
    By sawa85sa in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-10-2013, 06:40 PM
  7. [SOLVED] Formula to find specific text in a cell from a reference table?
    By larrens in forum Excel General
    Replies: 14
    Last Post: 03-26-2012, 11:41 AM

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