Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Anita Morales   on Aug 23 In MS Office Category.

  
Question Answered By: Nicolas Costa   on Aug 23

You need to use WorksheetFunction.VLookup twice to find the low and high
price, then do the compares, then do whatever you want with the price if it
is/is not within range.

Worksheetfunctiuon/VLookup needs a range  as its second parameter. You can use
named  range in the spreadsheet but you need to express it as

Worksheets("worksheetname").range("rangename")

(If I didn't tell you that you would waste a couple of hours wondering why the
function was not working!)

Share: 

 

This Question has 3 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Help with simple ByVal procedure Or get search suggestion and latest updates.


Tagged: