+ Reply to Thread
Results 1 to 5 of 5

Search for a part number in all (max 20) sheets of a workbook

  1. #1
    Registered User
    Join Date
    10-01-2012
    Location
    Pretoria, South Africa
    MS-Off Ver
    Excel 2010
    Posts
    3

    Search for a part number in all (max 20) sheets of a workbook

    The nubers within a sheet is structured from level zero (top level) to max level 9. If found in a sheet return level zero part number and description
    as well as the part numbers & descriptions of the next three higher level parents. I am new to VB and have no experience as yet. Please supply the
    code to use. Example worksheet posted.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Search for a part number in all (max 20) sheets of a workbook

    hi Oujous, welcome to Excelforum, please check attachment, press Run button. The result is on a new sheet. I've made some assumptions on my own, please check if it's OK with you.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    10-01-2012
    Location
    Pretoria, South Africa
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Search for a part number in all (max 20) sheets of a workbook

    Thank you very much for resolving my problem in such a short time. Can you please send me the code.

  4. #4
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Search for a part number in all (max 20) sheets of a workbook

    save attachment, press ALT+F11, the code sits in Module 1

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    10-01-2012
    Location
    Pretoria, South Africa
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Search for a part number in all (max 20) sheets of a workbook

    Thank you very much watersev. You are a star.

+ 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