Results 1 to 2 of 2

Thread: VBA code to hide filtered columns (simple table 5 rows / 6 columns wide)

  1. #1

    VBA code to hide filtered columns (simple table 5 rows / 6 columns wide)

    Register for a FREE account, and/
    or Log in to avoid these ads!


    I have a simple table in Excel 2010 (5 rows / 6 columns).
    I would like the user to be able to filter the table.
    After the filter, I would like to hide any columns that only contain (visible) 'N' characters.

    I would like to do this in VBA.

    Any help much appreciated.
    Thank you
    Attached Files Attached Files
    Last edited by xx3774; 2014-11-11 at 06:55 PM. Reason: attachment not showing

  2. #2
    Administrator Ken Puls's Avatar
    Join Date
    Mar 2011
    Nanaimo, BC, Canada
    Blog Entries
    Excel Version
    Excel Office 365 Insider
    Before anyone replies to this, check the cross posts for solutions:

    xx3774, welcome to the forum, but please have a read of this article.
    Ken Puls, FCPA, FCMA, MS MVP

    Learn to Master Your Data at the Power Query Academy (the world's most comprehensive online Power Query training), with my book M is for Data Monkey, or our new Power Query Recipe cards!

    Main Site: -||- Blog: -||- Forums:
    Check out the Excelguru Facebook Fan Page -||- Follow Me on Twitter

    If you've been given VBA code (a macro) for your solution, but don't know where to put it, CLICK HERE.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts