+ Reply to Thread
Results 1 to 3 of 3

Dropdown to hide and unhide tabs

  1. #1
    Registered User
    Join Date
    10-20-2022
    Location
    Philadelphia, Pa
    MS-Off Ver
    office 365
    Posts
    2

    Dropdown to hide and unhide tabs

    i have 3 tabs that I want to hide and unhide as needed with a dropdown list (tab1, tab2, tab3), the dropdown list is on a tab called "menu" and my options yes and no, (yes means i need to see the tab and no means its not needed and it can be hidden) I am using office 365 and need help with the code to get this accomplished, can someone assist?

  2. #2
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,743

    Re: Dropdown to hide and unhide tabs

    Into "menu" sheet code:

    Please Login or Register  to view this content.
    that's will be checking visibility of our 3 sheets when you choose tab name from dropdown (and change text on button accordingly).

    Into standard module:
    1. changing visibility of chosen sheet:
    Please Login or Register  to view this content.
    2. checking and changing text on button (mentioned above)
    Please Login or Register  to view this content.
    assign macro changeVisibility() into button and should works.


    Capture.JPG

    Check attached file.

    p.s. if you prefer veryHidden (not possible to unhide under right mouse button), change main line in changeVisiblity into:
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by KOKOSEK; 10-20-2022 at 09:54 AM.
    Happy with my answer * Add Reputation.
    If You are happy with solution, please use Thread tools and mark thread as SOLVED.

  3. #3
    Registered User
    Join Date
    10-20-2022
    Location
    Philadelphia, Pa
    MS-Off Ver
    office 365
    Posts
    2

    Re: Dropdown to hide and unhide tabs

    Fantastic, I will give it a try and let you know. Really appreciate it!

+ 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. [SOLVED] How to Unhide - Hide Worksheet tabs
    By jarhtmd in forum Excel General
    Replies: 6
    Last Post: 02-28-2022, 08:41 PM
  2. Tabs In Hide/Unhide Out Of Sequence...
    By Nickerz2020 in forum Excel General
    Replies: 6
    Last Post: 10-27-2020, 02:31 PM
  3. [SOLVED] Dropdown to hide/unhide worksheets
    By kimjaggi88 in forum Excel General
    Replies: 7
    Last Post: 11-18-2016, 05:46 PM
  4. hide/unhide all tabs
    By cmorten82 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-11-2015, 07:03 PM
  5. 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
  6. Hide/unhide Tabs by color
    By angeljdiez in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-13-2012, 03:11 AM
  7. Hide/Unhide Tabs VBA
    By JIBG in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-20-2007, 03:08 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