LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 260
Default XLUP FInd Error

Hey guys

The below code finds the address of the first occurance of
the specified value (variable). Lets say the variable is
equal to "Mouse". Lets say mouse was located in cell C4,
C100, and C322. When the code is run, test would equal
C322 because cell C322 is the location of the first
instance of that value it sees. This works fine accept
when the variable is equal to a date.

In this case, variable CL.Value = 06/22/2004. When the
below code is run, the result is empty. What do I need to
do to fix this?

test = Range("C65536").End(xlUp).Find(CL.Value).Address
 
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
Understanding .End(xlUp) (1,1) Dennis Excel Discussion (Misc queries) 4 April 4th 23 02:13 PM
End(xlUp) question CoolBusiness Excel Discussion (Misc queries) 4 March 26th 09 07:07 PM
Worksheet function that duplicates End(xlUp)? Arlen Excel Discussion (Misc queries) 2 August 2nd 08 06:36 AM
problem with .end(xlUp).row [email protected] Excel Discussion (Misc queries) 4 December 29th 06 01:24 PM
ADD Macro - xlup plus xlto right Danny Excel Worksheet Functions 5 March 28th 06 12:08 AM


All times are GMT +1. The time now is 04:48 AM.

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"