+ Reply to Thread
Results 1 to 5 of 5

Unhide version

  1. #1
    Forum Contributor
    Join Date
    02-21-2007
    MS-Off Ver
    Microsoft 365 Apps for enterprise
    Posts
    389

    Unhide version

    Hello,

    I have various worksheet such as:

    Version1, version2, version3, version4, version5 and version6

    I have hidden version2, version3, version4, version5 and version6

    From version1 worksheet, I would like to create a macro button to allow me to unhide version2 without copying the macro button on the version2 worksheet and staying on the version1 worksheet.

    Then the logic would be that if I need another version I would push agin the macro button to.... unhide version3 without copying the macro button on the version3 worksheet and staying on the version1 worksheet.

    Many thanks,
    Graig
    Attached Files Attached Files

  2. #2
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: Unhide version

    Hi, Graig,

    about how many sheets are we talking?

    Code goes into ThisWorkbook:
    Please Login or Register  to view this content.
    Code for the button:
    Please Login or Register  to view this content.
    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  3. #3
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Unhide version

    Hi Graig,

    Maybe:

    Please Login or Register  to view this content.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  4. #4
    Forum Contributor
    Join Date
    02-21-2007
    MS-Off Ver
    Microsoft 365 Apps for enterprise
    Posts
    389

    Re: Unhide version

    Hi Holger,

    It does exactly what I was expected. The only thing is that I needed to stay on the worksheet "VERSION1" so I added a simple line and it works exactly the way I wanted :D

    Many thanks,
    Graig

    HTML Code: 

  5. #5
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: Unhide version

    Hi, Graig,

    the code from xladept will work as well. If your problem has been solved please mark the thread as Solved via Thread Tools above the first post.

    Ciao,
    Holger

+ 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] Macro to determine version of excel version
    By dare2join in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-17-2013, 01:21 AM
  2. How do i unhide rows that won't respond to 'unhide'?
    By sallyhughes in forum Excel General
    Replies: 1
    Last Post: 10-21-2010, 02:34 PM
  3. [SOLVED] how do i unhide a worksheet in excel 2003? unhide tab don't work
    By mikekeat in forum Excel General
    Replies: 2
    Last Post: 03-05-2006, 11:40 PM
  4. Replies: 3
    Last Post: 06-16-2005, 11:05 PM
  5. Replies: 1
    Last Post: 05-11-2005, 11:06 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