Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
L2B L2B is offline
external usenet poster
 
Posts: 1
Default Is filtered property?


Hi,

I would like to check a new autofiltered list versus an old version for
any changes. Is there an isvisible property in VBA that can detect
whether an item is now visible and was visible in a previous saved
version.

e.g. row 10 has item "fdgfs" which today is not filtered out, how can i
check whether in the previous spreadsheet this was visible also, (the
filtering is based on 5+ criteria)

Many thanks,

Liz


--
L2B
------------------------------------------------------------------------
L2B's Profile: http://www.excelforum.com/member.php...o&userid=23140
View this thread: http://www.excelforum.com/showthread...hreadid=386051

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,718
Default Is filtered property?

There is not Filtered property, as far as I know. I think all you can do is
check whether a row is hidden:

Sub aa()
Dim Rw As Range
With ActiveSheet.AutoFilter.Range
For Each Rw In .Rows
If Rw.Hidden Then MsgBox Rw.Address & " is filtered"
Next
End With
End Sub

You might want to use something similar to build an array of hidden rows
with each filter applied, and then compare arrays to see what changed.

--
Jim
"L2B" wrote in message
...
|
| Hi,
|
| I would like to check a new autofiltered list versus an old version for
| any changes. Is there an isvisible property in VBA that can detect
| whether an item is now visible and was visible in a previous saved
| version.
|
| e.g. row 10 has item "fdgfs" which today is not filtered out, how can i
| check whether in the previous spreadsheet this was visible also, (the
| filtering is based on 5+ criteria)
|
| Many thanks,
|
| Liz
|
|
| --
| L2B
| ------------------------------------------------------------------------
| L2B's Profile:
http://www.excelforum.com/member.php...o&userid=23140
| View this thread: http://www.excelforum.com/showthread...hreadid=386051
|


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
Return filtered values into report worksheet based on filtered valueon the data worksheet dicko1 Excel Worksheet Functions 1 April 21st 09 12:27 AM
Value Property vs Text property augustus Excel Programming 3 October 31st 04 10:32 PM
Runtime error 380: Could not set the List property. invalid property value of listbox jasgrand Excel Programming 0 October 6th 04 09:28 PM
Is there a Filename property in PrintOut property Christian[_6_] Excel Programming 4 September 3rd 04 10:12 PM
traversing through a filtered range based on another filtered range zestpt[_4_] Excel Programming 4 July 12th 04 06:37 PM


All times are GMT +1. The time now is 11:51 PM.

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

About Us

"It's about Microsoft Excel"