Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You might want to consider making the functions in the freely
downloadable file at http://home.pacbell.net/beban available to your workbook, and using the VLookups function Alan Beban Simon Lloyd wrote: Hi all, i have managed to work out how to do a vlookup in VBA which helps me check some criteria before moving on with the rest of the code, at this moment in time it looks for a name and a date in a named range and if it exists bring up a MsgBox..............I'm just having one problem with it, and that is the vlookup stops at the first match it comes across, so if my named range looked like this: (a & b are the columns) A.........B Emma 14/7/06 Cheryl 15/7/06 Lauren16/7/06 Cheryl 14/7/06 If with my userform i look for Emma 14/7/06 the vlookup will find it no problem if i go back to my userform and choose a new name "Cheryl" 14/7/06 it will only see the first "Cheryl" it comes across which is 15/7/06 anyone know how to fix this? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Vlookup to find a match in a string | Excel Worksheet Functions | |||
vlookup/match to find column name | Excel Worksheet Functions | |||
Return alternate value if VLookup can't find match | Excel Worksheet Functions | |||
Find a not exact match using vlookup | Excel Discussion (Misc queries) | |||
using vlookup to find exact match | Excel Discussion (Misc queries) |