Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
I have 2 columns of dates (rng1 and rng2). For each entry in rng1 I need to find a match, if any, in rng2. Rng1 is formatted as "01/28/07", while rng2 is "01/28/2007 05:00:00 PM". The only way I can get the Find method to work is by formatting rng2 as serial, doing the find, then restoring the original format. The example here seems to be the only variation of Find that works for me. There must be a way to avoid having to change the format. For Each cell1 In rng1 Set Y = rng2.Find(what:=CLng(cell1), LookIn:=xlValues, lookat:=xlPart) Next cell1 Regards, DaveU |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Find Specific date in Biwwekly Based on date | Excel Discussion (Misc queries) | |||
Julian date - find next highest date/number | Excel Worksheet Functions | |||
Find the date of the coming up Saturday given the current date. | Excel Worksheet Functions | |||
Using variables to make a date and using find method to find that. | Excel Programming | |||
Find date and copy range based on that date | Excel Programming |