Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Worksheetfunction.Vlookup

Hello,

I have unsuccessfully tried Worksheetfunction.Vlookup looking for a date.
It works fine if I place a formula as ActiveCell.Formula = "=Vlookup"

Is their any trick I should be aware of when using the a date value in
Worksheetfunction.Vlookup?

bwilcox


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,163
Default Worksheetfunction.Vlookup

Just make sure the formula parameters match, in type, the cell values. For
example, if the cells are truly dates (not text that looks like dates) then
be sure to use a date value for the lookup; i.e this should work
WorksheetFunction.Vlookup(DateValue("1/1/2005"),LookupRange,2,False)
Where this would not
WorksheetFunction.Vlookup("1/1/2005",LookupRange,2,False)

"Robert Wilcox" wrote:

Hello,

I have unsuccessfully tried Worksheetfunction.Vlookup looking for a date.
It works fine if I place a formula as ActiveCell.Formula = "=Vlookup"

Is their any trick I should be aware of when using the a date value in
Worksheetfunction.Vlookup?

bwilcox



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
WorksheetFunction.Vlookup leerem Excel Discussion (Misc queries) 8 October 25th 08 07:58 PM
Worksheetfunction.vlookup and #value error BL Excel Worksheet Functions 2 June 17th 05 09:48 PM
vlookup worksheetfunction ben Excel Programming 4 February 15th 05 10:27 PM
application.worksheetfunction.vlookup JulieD Excel Programming 5 August 12th 04 04:42 PM
worksheetfunction.vlookup? devnext Excel Programming 1 October 29th 03 06:41 PM


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