Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Problems with AutoFilter macro

Hello i would like to make Auto Filter Macro which will always remove "0" and word "test" and will leave rest of things.


I dont want to write all Criterial "numbers like 5,6,3,17, because that things will grow endless, just always Remove "0" and "test" word from Filter.


(Tabele 1)
1
2
3
4
0
5
6
7
892
11
18
0
18
221
3
43
0
54
6
71
test
11
18
202
18
221
404
1223


---------------------------------------------------------------------------

Sub Elipse()

'
ActiveSheet.Range("$E$10:$F$21").AutoFilter Field:=2, Criteria1:=Array("1", _
"2", "3", "4" ... dont want to write here tons of things just say which i dont want), Operator:=xlFilterValues
End Sub




Thanks for any help
Jena C.
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Problems with AutoFilter macro

W dniu piątek, 14 lutego 2014 14:34:47 UTC+1 użytkownik napisał:
Hello i would like to make Auto Filter Macro which will always remove "0" and word "test" and will leave rest of things.





I dont want to write all Criterial "numbers like 5,6,3,17, because that things will grow endless, just always Remove "0" and "test" word from Filter..





(Tabele 1)

1

2

3

4

0

5

6

7

892

11

18

0

18

221

3

43

0

54

6

71

test

11

18

202

18

221

404

1223





---------------------------------------------------------------------------



Sub Elipse()



'

ActiveSheet.Range("$E$10:$F$21").AutoFilter Field:=2, Criteria1:=Array("1", _

"2", "3", "4" ... dont want to write here tons of things just say which i dont want), Operator:=xlFilterValues

End Sub









Thanks for any help

Jena C.


WOW ! THANK YOU Claus :)!!!!
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
Macro, AutoFilter... Aline Excel Discussion (Misc queries) 1 July 27th 08 12:27 AM
Problems using autofilter Smudge Excel Discussion (Misc queries) 3 October 16th 07 12:23 PM
Autofilter problems in Excel 2003 ruthhicks999 Excel Discussion (Misc queries) 0 April 2nd 07 04:47 PM
problems w solution 4 enable AutoFilter for a protected worksheet sharona Excel Programming 1 October 13th 05 04:59 PM
autofilter/cell selection problems Jordan Excel Programming 3 July 20th 05 04:16 PM


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