LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Autofilter using cell reference

Hi, would someone please help me with this trouble?

E3 (Input cell) is formatted h:mm

I have a macro to detect what's in E3 and autofilter a specific Field to
match (=) what's in E3.

Although the time format is the same for both E3 and column being filtered,
it appears that Excel cannot find a match.

I've attempted both of the following but same result...no match. What am I
doing wrong?

MACRO # 1:

Sub check_overlaps()
'
' check_overlaps Macro
' Macro recorded 4/22/2008 by espencer
'
Range("A10:T10").AutoFilter Field:=12, Criteria1:=Range("E3").Value

'
End Sub



MACRO # 2:
Sub check_overlaps()
'
' check_overlaps Macro
' Macro recorded 4/22/2008 by espencer
'
Range("A10:T10").AutoFilter Field:=12, Criteria1:="=" &
Range("E3").Value, Operator:=xlAnd

'
End Sub
 
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
Changing sheet reference to cell reference TeeJay Excel Worksheet Functions 3 October 19th 07 11:50 AM
Reference to cells using autofilter problem Twitos Excel Worksheet Functions 2 July 14th 06 09:08 PM
absolute cell reference A spreadsheet cell reference that does no help Excel Discussion (Misc queries) 1 January 18th 06 06:56 PM
problem with cell reference in =sum(offset(cell reference,x,y,z,a)). Want cell ref to be variable. [email protected] Excel Worksheet Functions 2 December 11th 04 12:05 AM
Problem with =sum(offset(cell reference,w,x,y,z). I want cell reference to be variable [email protected] Excel Worksheet Functions 2 December 11th 04 12:00 AM


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