+ Reply to Thread
Results 1 to 2 of 2

Hide Tabs that contain certain text

  1. #1
    Registered User
    Join Date
    08-30-2018
    Location
    North Bergen, NJ
    MS-Off Ver
    Office 2013
    Posts
    23

    Hide Tabs that contain certain text

    So I'm trying to find a way to hide tabs that contain certain text. I have a report that I'm trying to standardize by updating quarter by quarter.

    There are tabs that detail for Q1, tabs that are related to Q2, etc.

    I want to see if it is possible to have a macro that selects and hides quarters I'm not focused on. So if I select Q1 Macro, it hides the others and only shows tabs containing "*Q1*", if I select the Q2 Macro it hides everything but "*Q2*".

    If anyone has any ideas on this, it'd be very helpful.

    I saw this on Stackoverflow, but it is more for making sheets visible and I'm not certain about adjusting the code.


    Please Login or Register  to view this content.

    https://stackoverflow.com/questions/...-specific-word

    Thank You!
    Last edited by sergi117; 03-17-2021 at 11:18 AM.

  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
    44,507

    Re: Hide Tabs that contain certain text

    Try this:

    Please Login or Register  to view this content.
    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however you need to include code tags around your code.

    Please take a moment to add the tags. Posting code between [code]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/code] tags makes your code much easier to read and copy for testing, and it also maintains VBA formatting.

    Please see Forum Rule #2 about code tags and adjust accordingly. Click on Edit to open your post, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    (Note: this change is not optional.)
    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. Macro to hide rows on tabs in between (Begin:End) tabs only
    By alohadboy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-20-2017, 11:24 AM
  2. Hyperlinking to hidden tabs - hidden tabs unhide / hide automatically.
    By jexcelio in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-31-2016, 02:42 AM
  3. hide/unhide all tabs
    By cmorten82 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-11-2015, 07:03 PM
  4. Using checkboxes on summary sheet to name tabs and hide/unhide tabs
    By eew2201 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-11-2012, 06:13 PM
  5. Hide tabs
    By V8Maverick in forum Excel General
    Replies: 2
    Last Post: 03-20-2009, 07:19 PM
  6. Hide Tabs
    By djfatboyfats in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-15-2008, 07:43 AM
  7. Can you hide tabs within a Workbook
    By GeorgeTriton in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-20-2007, 01:27 PM

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