+ Reply to Thread
Results 1 to 2 of 2

Help with code to open hidden sheets based on contents in a cell.

  1. #1
    Registered User
    Join Date
    05-11-2015
    Location
    melbourne
    MS-Off Ver
    2010
    Posts
    38

    Help with code to open hidden sheets based on contents in a cell.

    I have a spreadsheet that contains job titles.
    When a staff member is selected their job titles are displayed vertically in cells A89:A92.
    Each job title is related to a hidden worksheet with the job description on it. I want to open these hidden sheets when that job title is displayed in cells A89:A92.

    I have this pieces of code which will work when searching one cell example "A89". How can I modify the code to work on all the cells. When I make the range A89:A92 the code no longer seems to work.

    Please Login or Register  to view this content.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,000

    Re: Help with code to open hidden sheets based on contents in a cell.

    Perhaps:
    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


+ 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. Moving data to different sheets based on cell contents
    By asml8d in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-25-2017, 04:11 PM
  2. Replies: 1
    Last Post: 11-20-2015, 11:36 AM
  3. [SOLVED] Toggle command buttons between hidden and unhidden, based on cell value and CODE name
    By Willardio in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 02-01-2013, 02:27 PM
  4. Code to clear contents of specific cells based upon if key exists in other sheets
    By seputus in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-31-2013, 07:25 PM
  5. Very Hidden Sheets on Open
    By erock24 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-03-2008, 05:16 PM
  6. Add Code based on Contents of Cell?
    By DekHog in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-08-2007, 03:21 AM
  7. [SOLVED] VBA Code to Group Rows Based on Cell Contents
    By Pliskers in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-10-2006, 03:29 AM

Tags for this Thread

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