+ Reply to Thread
Results 1 to 4 of 4

Autofilter and columns in macros

Hybrid View

Rlyeh462 Autofilter and columns in... 04-14-2007, 03:23 PM
VBA Noob Record inserting a column and... 04-14-2007, 03:37 PM
Rlyeh462 can I also set a function for... 04-14-2007, 04:35 PM
mrice Try ... 04-14-2007, 03:39 PM
  1. #1
    Registered User
    Join Date
    04-11-2007
    Posts
    12

    Autofilter and columns in macros

    I can't quite find how to do this: I need to add a column to a sheet in a macro and I need to turn off auto filter and turn it back on from with in a macro as well.

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Record inserting a column and this will help with autofilter

    http://www.contextures.com/xlautofilter03.html#On

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Registered User
    Join Date
    04-11-2007
    Posts
    12
    can I also set a function for the column in the macro as well?

  4. #4
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967
    Try

    Selection.AutoFilter
    which acts as a toggle. You can replace Selection by a range object.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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