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

I have a user defined function, but Vlookup doesnt work in
it. This i the part in the function that doesn't work...
any ideas?

thanks

/Tim


Function test(value, table)

test = VLookup(value, table, 2, False)

End Function
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Vlookup in user defined function

I think you need ot qualify it fully, as in
test = Application.WorksheetFunction.VLookup(value, table, 2, False)

"Tim Svensson" wrote in message
...
I have a user defined function, but Vlookup doesnt work in
it. This is the part in the function that doesn't work...
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
User Defined Function and VLookUP Kevin Excel Worksheet Functions 11 October 26th 09 02:10 AM
user defined function ub Excel Worksheet Functions 6 April 4th 07 09:42 PM
User Defined Function Barb Reinhardt Excel Worksheet Functions 3 March 28th 07 02:23 AM
vlookup, add parameter, on error return user defined value jims2994 Excel Worksheet Functions 0 July 7th 06 02:56 PM
User-Defined Function pre-empting Built-in Function? How to undo???? MarWun Excel Programming 1 August 6th 03 09:31 PM


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