+ Reply to Thread
Results 1 to 5 of 5

Hide / unhide 2

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

    Hide / unhide 2

    Hello,

    As per the attched file, I hid the columns D:Q.

    I would need to create a macro that would allow me to unhide 2 columns each time I run the macro.

    Eg: Running for the first time the macro it would unhide the column D:E

    Running a second time the macro it would unhide the column F:G etc..

    Many thanks in advance,
    Graig
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Hide / unhide 2

    Try

    Please Login or Register  to view this content.

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

    Re: Hide / unhide 2

    I tried to assign the macro to the button but I do not have any result nor error.
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Hide / unhide 2

    Try the attached.
    Attached Files Attached Files

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

    Re: Hide / unhide 2

    I change a bit your macro and now it works :
    HTML Code: 

+ 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. Excel 2007 : Hide and Unhide
    By TANKERMAN in forum Excel General
    Replies: 2
    Last Post: 04-17-2012, 10:32 AM
  2. Hide and Unhide
    By JAVisser in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-13-2010, 10:05 AM
  3. Hide/Unhide Help
    By Danno in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-26-2006, 12:55 PM
  4. [SOLVED] Hide/unhide
    By Jock W in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-04-2005, 12:05 PM
  5. Hide and unhide
    By Marcel in forum Excel General
    Replies: 1
    Last Post: 03-10-2005, 08:06 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