Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Diane Thank you.
I tried ActiveSheet.AutoFilterMode = False which seems to work OK but when I try ActiveSheet.AutoFilterMode = True it never works. Can you tell what I'm doing wrong? Thanks again, Connie -----Original Message----- This works for me. ws represents a worksheet, since AutoFilterMode is a worksheet property. If ws.AutoFilterMode = True Then ws.AutoFilterMode = False End If Diane -----Original Message----- how can I (with VBA) turn off the Autofilter or turn on the autofilter regardless of its current state? . . .. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
have a look at the Excel help file for this :-) AutoFilterMode can only be set to FALSE. If you want to enable autofilters you have to use the AutoFilter method -- Regards Frank Kabel Frankfurt, Germany "Connie" schrieb im Newsbeitrag ... Diane Thank you. I tried ActiveSheet.AutoFilterMode = False which seems to work OK but when I try ActiveSheet.AutoFilterMode = True it never works. Can you tell what I'm doing wrong? Thanks again, Connie -----Original Message----- This works for me. ws represents a worksheet, since AutoFilterMode is a worksheet property. If ws.AutoFilterMode = True Then ws.AutoFilterMode = False End If Diane -----Original Message----- how can I (with VBA) turn off the Autofilter or turn on the autofilter regardless of its current state? . . . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel auto-filter does not filter certain columns | Excel Discussion (Misc queries) | |||
DataFilterAuto Filter in excel 2007? | New Users to Excel | |||
Excel 2007 Auto Filter Filter | Excel Discussion (Misc queries) | |||
Limit filter options in Auto Filter | Excel Discussion (Misc queries) | |||
Excel auto filter doesn't recoginize case - won't filter AA from A | Excel Discussion (Misc queries) |