Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Column C contains names with some containing the word "LTD" I need to
find and activate the cell with names containing the word "LTD" E.g "NIGERTEQ COMMUNICATION LTD" I have applied the codes below without success: Selection.Find(What:="LTD", After:=ActiveCell _ , LookIn:=xlValues, LookAt:=xlWhole _ , SearchOrder:=xlByColumns _ , SearchDirection:=xlNext).Activate OR Set Rng = Rows(x).Find("<D&") Pls help on the right approach |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'd use lookat:=xlpart
dim FoundCell as range set foundcell = selection.Find(What:="LTD", After:=ActiveCell _ , LookIn:=xlValues, LookAt:=xlPart _ , SearchOrder:=xlByColumns _ , SearchDirection:=xlNext) if foundcell is nothing then 'didn't find it else foundcell.activate end if sylink wrote: Column C contains names with some containing the word "LTD" I need to find and activate the cell with names containing the word "LTD" E.g "NIGERTEQ COMMUNICATION LTD" I have applied the codes below without success: Selection.Find(What:="LTD", After:=ActiveCell _ , LookIn:=xlValues, LookAt:=xlWhole _ , SearchOrder:=xlByColumns _ , SearchDirection:=xlNext).Activate OR Set Rng = Rows(x).Find("<D&") Pls help on the right approach -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how do i do a compound if function? | Excel Worksheet Functions | |||
Find a word in a table, then use a function | Excel Worksheet Functions | |||
Where to find formula & explanation on Compound Interest etc | Excel Discussion (Misc queries) | |||
Excel spreadsheet linked into a word doc a compound document? | Excel Discussion (Misc queries) | |||
a formula to find total compound amount after given number of yea. | Excel Worksheet Functions |