+ Reply to Thread
Results 1 to 3 of 3

VBA for hide worksheet except active worksheet selected by Combobox

  1. #1
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    848

    VBA for hide worksheet except active worksheet selected by Combobox

    Dear Experts,

    Please find here attached workbook, I am using the combobox to jump over the worksheets with the help of below code but the current code keeps visible the inactive worksheets as well:

    Please Login or Register  to view this content.
    I am currently seeking the VBA to jump over the selected worksheet with the help of combobox and only the active worksheet will be visible and rest other will be very hidden and when i do close the workbook the last selection from combobox will be clear and will be reset as blank.

    Request to you please do help me. Your precious phase and valuable support would be appreciated.

    Many thanks and kind regards,

    Neilesh

    Combobox Selection.xlsb

  2. #2
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: VBA for hide worksheet except active worksheet selected by Combobox

    Try

    Please Login or Register  to view this content.
    Kind regards
    Leo

  3. #3
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    848

    Re: VBA for hide worksheet except active worksheet selected by Combobox

    Thank you so much Dear Expert LeoTaxi. Its worked like a charm. Dear Expert is it possible to clear the last selection of combobox before close so when i open the workbook i can start from the Home tab. Because currently after reopening the workbook it is directly taking to the last selected tab or can we set it by default to the home tab before closing the workbook.

    Many thanks and kind regards,

    Neilesh

+ 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. Set active Worksheet from a ComboBox value.
    By MaxSheets in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-18-2016, 06:43 AM
  2. On ActiveX ComboBox Change, switch focus to the active worksheet
    By ericbartha in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 06-29-2015, 10:54 AM
  3. ComboBox Selection Caused Cells to be copied to active worksheet
    By octalman in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-07-2015, 02:12 PM
  4. ComboBox to Loop through selected worksheet
    By Shellybelly in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-05-2015, 11:00 AM
  5. combobox cannot read active worksheet
    By craig2793 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 07-11-2013, 02:59 AM
  6. Determining the selected range in a worksheet that is not the active worksheet
    By Gantenbein in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-13-2009, 09:55 PM
  7. determine active or selected worksheet
    By mevasquez in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-02-2006, 03:41 PM

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