Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 92
Default Re : Excel AutoFilter being Toggled of VisibleDropDown

Re : Excel AutoFilter being Toggled of VisibleDropDown

1. Enter an Excel worksheet and VBA thereof.

2. In the midst of,
ActiveSheet.AutoFilter.Filter(1)
being toggled by,
VisibleDropDown:= False and
VisibleDropDown:= True,
How could VBA code be deployed to test the States of VisibleDropDown
thereof ?

3. Please share your experience (of tracking the States of
VisibleDropDown of an AutoFilter and several others via VBA).

4. Regards.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Re : Excel AutoFilter being Toggled of VisibleDropDown

Hiiii
For check the state of auto filter use the following commands
if activesheet.row(5).AutoFilterMode=False then
activesheet.row(5).AutoFilter()
end if

With Regards
Mitesh Khatri

India
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 92
Default Re : Excel AutoFilter being Toggled of VisibleDropDown

Mr. Mitesh Khatri,

Thank you for responding to the query.

The query case refers to "ActiveSheet.AutoFilter.Filter(1)".

You have suggested to test by,

"ActiveSheet.Row(5).AutoFilterMode = False".

But, why Row(5) ?

Nevertheless, having tested your suggestion, it shows exception.

Please share your experience (of tracking the States of
VisibleDropDown of an AutoFilter after being cyclically toggled by,
VisibleDropDown:= False and
VisibleDropDown:= True,
via VBA).

That's when the AutoFilter's Arrow disappears and then reappears
consecutively.

Also, there are several AutoFilter.Filters being implemented on the
ActiveSheet.

Regards.








  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Re : Excel AutoFilter being Toggled of VisibleDropDown

Hiiii
for auto filter i use the row no 5 for auto filter. you use any row as u need.

If Not myworksheet .AutoFilterMode Then myworksheet.Rows(RowNo).AutoFilter()

i hope it run perfectely.
Thanx
Mitesh Khatri

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 92
Default Re : Excel AutoFilter being Toggled of VisibleDropDown

Mr. Mitesh Khatri,

Thank you again for responding to the query.

The query case refers to "ActiveSheet.AutoFilter.Filter(1)".

Note that it is Filter(1) of the AutoFilter embedded on an
ActiveSheet.

Specificially, the Arrow-Button of Filter(1) has been subject to the
effect of a Pertinent Argument Setting namely, VisibleDropDown =
False ; and so, it has disappeared from the Lower Right-Hand-Side
Corner of the Header-Cell atop the column of Filter(1).

Meaning that it is One Arrow-Buitton of Filter(1) having
disappeared ...... and there, it is so required to Test (and Track,
via VBA Coding) the State of that Arrow-Button.

You have suggested to test by,

If Not myworksheet.AutoFilterMode Then
myworksheet.Rows(RowNo).AutoFilter() ............

The statement wreaks an effect and there, so many Arrow-Button(s)
would Emerge Enmasse ...... the result is apparently not at all
relevant to the query case.

You see?! the disappearance of an Arrow-Button (amidst several others
thereof) as a result of VisibleDropDown = False does not suffice the
Negation of AutoFilterMode.

In practice, AutoFilterMode = False is the Negation of an (existing)
AutoFilter implemented on an ActiveSheet.

In the meantime, the pursuit to track the State of Arrow-Button of
such AutoFilter.Filter(1) (being Toggled to Dis-Appear and Re-Appear)
persists ; It's Not Over Until It Is Over.

Regards.
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
excel 2007 autofilter change to 2003 autofilter functionality? jonnybrovo815 Excel Discussion (Misc queries) 1 April 19th 10 10:05 PM
2007 excel autofilter change back to 2003 autofilter? jonnybrovo815 Excel Discussion (Misc queries) 1 April 19th 10 05:53 PM
Re : Excel After-Life for an AutoFilter upon VisibleDropDown;=False [email protected] Excel Programming 0 April 16th 08 01:05 AM
allow fill color to be changed or toggled using a formula CMAN Excel Discussion (Misc queries) 2 October 26th 05 05:29 AM
sometimes cannot see existing worksheet when i open it without full screen toggled on ckivela Excel Discussion (Misc queries) 1 October 3rd 05 07:55 PM


All times are GMT +1. The time now is 01:40 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"