+ Reply to Thread
Results 1 to 4 of 4

Hide And Unhide Column With One Button,,,,Once Click Hide,,,,,Again Click Unhide

  1. #1
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    1,986

    Thumbs up Hide And Unhide Column With One Button,,,,Once Click Hide,,,,,Again Click Unhide

    hello evryone

    here is my code ( Recorded by macro )

    Sub Tally_Chck()
    '
    ' Tally_Chck Macro
    '

    '
    Columns("D:E").Select
    Range("E1").Activate
    Selection.EntireColumn.Hidden = True
    Range("B3").Select
    End Sub

    I want Hide And Undie Column With One Button,,,,
    Once Click Hide,,,,,
    Again Click Unhide


    thanx
    Last edited by HaroonSid; 03-12-2014 at 02:17 AM. Reason: spell mistake

  2. #2
    Forum Guru Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,249

    Re: Hide And Undie Column With One Button,,,,Once Click Hide,,,,,Again Click Unhide

    Please use CODE tags when you post code.

    Try:
    Please Login or Register  to view this content.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    1,986

    Re: Hide And Undie Column With One Button,,,,Once Click Hide,,,,,Again Click Unhide

    Thanx its working........

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2003,2007,2010
    Posts
    31,020

    Re: Hide And Undie Column With One Button,,,,Once Click Hide,,,,,Again Click Unhide

    Late entry ...

    You could have a simple toggle, or a more sophisticated version that also toggles the caption on the button.

    Regards, TMS


    Please Login or Register  to view this content.
    Trevor Shuttleworth - Excel Aid

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  5. #5
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    1,986

    Re: Hide And Undie Column With One Button,,,,Once Click Hide,,,,,Again Click Unhide

    Thaxn u TMS

+ 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] hide/undie untire column based on a dyanmic cell
    By hcyeap in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 12-30-2013, 03:35 AM
  2. [SOLVED] VBA for HIDE/UNHIDE Colum when press double click
    By santosh226001 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-09-2013, 06:26 AM
  3. Disable Hide/Unhide from Format, and right click on Row and Column
    By lejlasehic in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-16-2013, 07:05 AM
  4. [SOLVED] need to hide / unhide cells with single click
    By SBURTON in forum Excel General
    Replies: 2
    Last Post: 09-25-2012, 03:00 PM
  5. click - hide/unhide column
    By sqoo in forum Excel General
    Replies: 7
    Last Post: 11-28-2011, 04:48 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