#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 336
Default Auotofilter problem!

Why does not this work:

Selection.AutoFilter Field:=11, Criteria1:="<ActiveCell.Value"
Selection.AutoFilter Field:=13, Criteria1:="ActiveCell.Value",
Operator:=xlOr, _Criteria2:="=Oklart"

It does not get that I want the filter to show me the values less than the
active cell value!

Thank you,
Martin
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 535
Default Auotofilter problem!

Hi Martin,

Why does not this work:

Selection.AutoFilter Field:=11, Criteria1:="<ActiveCell.Value"
Selection.AutoFilter Field:=13, Criteria1:="ActiveCell.Value",
Operator:=xlOr, _Criteria2:="=Oklart"


Change this to:

Why does not this work:

Selection.AutoFilter Field:=11, Criteria1:="<" & ActiveCell.Value
Selection.AutoFilter Field:=13, Criteria1:="" & ActiveCell.Value,
Operator:=xlOr, _Criteria2:="=Oklart"

Regards,

Jan Karel Pieterse
Excel MVP
http://www.jkp-ads.com
Member of:
Professional Office Developer Association
www.proofficedev.com

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
Started out as an Access problem. Now an Excel problem RobertM Excel Discussion (Misc queries) 2 April 26th 06 07:30 PM
problem with a conditional max problem Brian Cornejo Excel Discussion (Misc queries) 1 February 18th 05 06:25 PM


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