+ Reply to Thread
Results 1 to 4 of 4

Close opend sheets from a Dropdown List

  1. #1
    Forum Contributor
    Join Date
    05-10-2011
    Location
    Central Ohio
    MS-Off Ver
    Excel 2000, and 2010
    Posts
    654

    Close opend sheets from a Dropdown List

    I have used the following code to open sheets displayed from a dropdown list.


    Please Login or Register  to view this content.
    I tried to modify the code to be able to close the sheet in the same manner but my very poor VBA skill leave me at a brick wall. I tried,


    Please Login or Register  to view this content.
    but I am getting an error msg.

    Jim O
    Last edited by JO505; 09-14-2013 at 06:18 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: Close opend sheets from a Dropdown List

    Hi,

    Use this code to hide the worksheet:
    Please Login or Register  to view this content.
    Hope this helps

  3. #3
    Forum Contributor
    Join Date
    05-10-2011
    Location
    Central Ohio
    MS-Off Ver
    Excel 2000, and 2010
    Posts
    654

    Re: Close opend sheets from a Dropdown List

    ajryan88,

    Thanks, that is just what I was looking for. I thought it would be something simple but with no real knowledge of code I was shooting in the dark.

    Again, thank you for your time.

    Jim O

  4. #4
    Forum Contributor
    Join Date
    01-02-2007
    Location
    Australia NSW
    MS-Off Ver
    2013
    Posts
    494

    Re: Close opend sheets from a Dropdown List

    Please Login or Register  to view this content.
    can be a better option if users tend to mess around with the workbook.

+ 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. Hyperlink sheets dropdown list
    By okelly in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-16-2013, 05:58 AM
  2. [SOLVED] Macro to Unhide sheets from a Dropdown List
    By JO505 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-19-2013, 05:32 PM
  3. Retrieve Data from other sheets using dropdown list.
    By lemuel in forum Excel General
    Replies: 8
    Last Post: 09-28-2012, 09:35 AM
  4. dropdown list, multiple sheets, automatic fill
    By roybean in forum Excel General
    Replies: 3
    Last Post: 12-09-2009, 05:39 AM
  5. Replies: 1
    Last Post: 06-29-2005, 08:05 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