Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default Filter problems

Héé, what is wrong with my filter?

I've a code in my excel file following:
Dim X As Boolean


Private Sub Worksheet_Calculate()
Dim R As Long
If X = True Then Exit Sub
X = True
For R = 1 To Cells(65535, 3).End(xlUp).Row
Select Case Cells(R, 3).Value
Case "", 0, "C"
Me.Rows(R).Hidden = True
Case Else
Me.Rows(R).Hidden = False
End Select
Next
X = False
End Sub

But now my filter don't work anymore!

Who can help me with this problem??

Greets Berry

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Filter problems

Check the value of X. Is it set to True?

--
Regards,
Tom Ogilvy


"Berry" wrote:

Héé, what is wrong with my filter?

I've a code in my excel file following:
Dim X As Boolean


Private Sub Worksheet_Calculate()
Dim R As Long
If X = True Then Exit Sub
X = True
For R = 1 To Cells(65535, 3).End(xlUp).Row
Select Case Cells(R, 3).Value
Case "", 0, "C"
Me.Rows(R).Hidden = True
Case Else
Me.Rows(R).Hidden = False
End Select
Next
X = False
End Sub

But now my filter don't work anymore!

Who can help me with this problem??

Greets Berry


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
Filter Subtotal Problems Jarnell Excel Discussion (Misc queries) 5 December 31st 09 04:51 PM
Filter Problems Damo McL Excel Discussion (Misc queries) 2 November 20th 06 10:50 AM
Auto Filter problems [email protected] Excel Discussion (Misc queries) 2 November 16th 06 10:43 PM
Auto Filter problems... Steven Keeling Excel Worksheet Functions 4 August 31st 06 07:39 PM
Advanced Filter Problems Brian Excel Discussion (Misc queries) 2 December 20th 04 06:31 PM


All times are GMT +1. The time now is 07:15 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"