Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I was about to embark on moving some VLOOKUP type code into a VBA module
using the "WorksheetFunction" approach. First however, I thought I'd check whether there was an easier, more direct approach. Following my nose, I find the VBA development help system provides a list of available native VBA functions which include LOOKUP so I don't have to mess with the "worksheetfunction" approach. Wonderful. I follow the VBA help system for syntax and plug it into a VBA module. VBA provides a compile error though "Sub or Function not defined". What's going on? The VBA help system helpfully describes the function but the compiler does not recognize it. Do I need to link to something? I've never stumbled across such a thing in VBA before. Thanks. Bill |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Now I understand. I misread the Help system. Moving right along...
Bill ---------------- "Bill Martin" wrote in message ... I was about to embark on moving some VLOOKUP type code into a VBA module using the "WorksheetFunction" approach. First however, I thought I'd check whether there was an easier, more direct approach. Following my nose, I find the VBA development help system provides a list of available native VBA functions which include LOOKUP so I don't have to mess with the "worksheetfunction" approach. Wonderful. I follow the VBA help system for syntax and plug it into a VBA module. VBA provides a compile error though "Sub or Function not defined". What's going on? The VBA help system helpfully describes the function but the compiler does not recognize it. Do I need to link to something? I've never stumbled across such a thing in VBA before. Thanks. Bill |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
lookup help. lookup result based on data in 2 columns | Excel Worksheet Functions | |||
LOOKUP FUNCTION? (LOOKUP VALUE BEING A TIME RENERATED FROM A FORMU | Excel Discussion (Misc queries) | |||
Matrix lookup/mulitple criteria lookup | Excel Discussion (Misc queries) | |||
Join 2 Lists - Lookup value in 1 list & use result in 2nd lookup | Excel Worksheet Functions | |||
Pivot table doing a lookup without using the lookup function? | Excel Discussion (Misc queries) |