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

I have a worksheet that contains data, corresponding to
various sample streams.

The data is arranged alpha/numerically. Column 1 has the
name of the sample stream, column 2 has the analyzer ID.

I have:

Sheets("Parameters").Select
MsgBox Application.WorksheetFunction. _
VLookup("FW1", "A2:B14", 2)


I continue to receive "Unable to get the VLookup property
of the WorksheetFunction class.

I have ensured that "Trust access to Visual Basic Project"
is enabled under macro security.

ANY ideas? Thankyou!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default VLookup problem

Hi
try
with Sheets("Parameters")
MsgBox Application.WorksheetFunction. _
VLookup("FW1", .range("A2:B14"), 2,0)
end with

--
Regards
Frank Kabel
Frankfurt, Germany


John C. wrote:
I have a worksheet that contains data, corresponding to
various sample streams.

The data is arranged alpha/numerically. Column 1 has the
name of the sample stream, column 2 has the analyzer ID.

I have:

Sheets("Parameters").Select
MsgBox Application.WorksheetFunction. _
VLookup("FW1", "A2:B14", 2)


I continue to receive "Unable to get the VLookup property
of the WorksheetFunction class.

I have ensured that "Trust access to Visual Basic Project"
is enabled under macro security.

ANY ideas? Thankyou!

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default VLookup problem

GROOVY!!!

Adding the range qualified fixed me.

THANX!
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
VLOOKUP problem Kim New Users to Excel 3 October 22nd 08 07:22 PM
Vlookup problem yclhk Excel Discussion (Misc queries) 8 May 3rd 08 03:10 PM
New VLOOKUP problem sfi Excel Worksheet Functions 2 July 26th 06 02:32 PM
Vlookup problem Blade2304 Excel Worksheet Functions 3 May 16th 06 09:14 PM
VLOOKUP problem q5 Excel Worksheet Functions 2 July 15th 05 11:33 PM


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