+ Reply to Thread
Results 1 to 4 of 4

sheet hide/unhide

  1. #1
    Forum Contributor
    Join Date
    02-11-2008
    Location
    India
    MS-Off Ver
    Excel 2013
    Posts
    242

    sheet hide/unhide

    Hi,
    I have written a code attached in the MIS workbook,where if I click on button 1 in sheet 2,it will go back to sheet 1 and hide sheet 2,where I am getting an error vice versa please unhide sheet 1,and you will see 2 buttons in sheet 1,first button is to hide,unhide all sheets except sheet 1 and second button to unhide sheet 1
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    11-23-2005
    Location
    Rome
    MS-Off Ver
    Ms Office 2016
    Posts
    1,628

    Re: sheet hide/unhide

    Try to change this code:
    Please Login or Register  to view this content.
    With:
    Please Login or Register  to view this content.
    Regards,
    Antonio

  3. #3
    Forum Contributor
    Join Date
    02-11-2008
    Location
    India
    MS-Off Ver
    Excel 2013
    Posts
    242

    Re: sheet hide/unhide

    Hi by using the new code I am able to see sheet 2 and rest are hiden,but I want go back to sheet 1 and hide sheet 2

  4. #4
    Forum Expert
    Join Date
    11-23-2005
    Location
    Rome
    MS-Off Ver
    Ms Office 2016
    Posts
    1,628

    Re: sheet hide/unhide

    Try with this code:
    Please Login or Register  to view this content.
    You in the code used 'sheet1' to test sheet name but unfortunately excel tried to hide Sheet1 because 'Sheet1' (sheet name) is different from 'sheet' (lower case).

    Regards,
    Antonio

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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