Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 106
Default Unable to get the Vlookup property of the WorksheetFunction class

Target.Offset(0, 1).Value = WorksheetFunction.VLookup(target_string,
D_PELATES, 2, 0) produces the above error. Any ideas?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Unable to get the Vlookup property of the WorksheetFunction class

That would be indicative of
A: bad arguments
B: the value was not found.

Try this

Target.Offset(0, 1).Value = Application.VLookup(target_string,
D_PELATES, 2, 0)

If that doesn't solve it then another guess on the problem is then D_Pelates
is actually a named range. Then it would be:


Target.Offset(0, 1).Value = Application.VLookup(target_string,
Range("D_PELATES"), 2, 0)

--
Regards,
Tom Ogilvy


"DoctorG" wrote:

Target.Offset(0, 1).Value = WorksheetFunction.VLookup(target_string,
D_PELATES, 2, 0) produces the above error. Any ideas?

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
"Unable to get the VLookup property of the WorksheetFunction class Ayo Excel Discussion (Misc queries) 4 August 6th 08 10:00 PM
Unable to get Match property of worksheetfunction Kevin Vaughn Excel Programming 4 March 17th 06 12:40 AM
"Unable to get the NormSInv property of the WorksheetFunction clas David Roodman Excel Worksheet Functions 1 December 15th 04 12:15 PM
Unable to get the Text property of the WorksheetFunction class John[_86_] Excel Programming 5 November 25th 04 01:40 AM
Unable to get the Vlookup Property of the WorkSheetFunction Class monagan Excel Programming 2 August 3rd 04 09:32 PM


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