Check if sheet hide then unhide them

  • hi,
    i am using below code to run the macro




    in above code what i want to change are


    check sheet15 is hide then unhide them
    check sheet22 is hide then unhide them
    check sheet23 is hide then unhide them
    check sheet24 is hide then unhide them


    like below



    thanx in advance

  • Re: Check if sheet hide then unhide them


    Hi,


    This code could help you:


    Code
    Sheet15.Visible = xlSheetVisible = Sheet15.Visible = False


    Cheer!!!

  • Re: Check if sheet hide then unhide them


    @ GOLDENEXCEL


    Please use code tags even for code snippets, I have added them for you on this occasion.


    Thanks.

    We now have a reputation system in place. If my reply helped please "Like" the reply by clicking the "Like" icon at bottom right of my reply.

  • Re: Check if sheet hide then unhide them


    Try


    We now have a reputation system in place. If my reply helped please "Like" the reply by clicking the "Like" icon at bottom right of my reply.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!