Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hi all, I have mixed text which the below function ignores. I know I need t add Ucase or ProperCase but not sure where to add it. Function ListSearch(Target As Range, SearchList As Range) Dim myTarget, mySearchList As Range Set myTarget = Target Set mySearchList = SearchList For Each cell In mySearchList On Error Resume Next x = Application.WorksheetFunction.Find(cell.Value, myTarget.Value, 1) If x 0 Then If myAnswer < 0 Then myAnswer = myAnswer & ", " myAnswer = myAnswer & cell.Value x = 0 End If Next cell If myAnswer = 0 Then myAnswer = "" ListSearch = myAnswer End Functio -- VBA Noo ----------------------------------------------------------------------- VBA Noob's Profile: http://www.excelforum.com/member.php...fo&userid=3383 View this thread: http://www.excelforum.com/showthread.php?threadid=55454 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Can I change case automatically without using PROPER function? | Excel Discussion (Misc queries) | |||
How do I change from upper case to proper case in excel 2002 | Excel Discussion (Misc queries) | |||
excel'03 how to convert a column from upper case to proper case | Excel Discussion (Misc queries) | |||
Excel: How do I change all upper case ss to proper case? | Excel Worksheet Functions | |||
Changing Upper case to Proper Case | Excel Worksheet Functions |