Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi, as part of a loop I am trying to find cells that contain a string and
then copy some adjacent cells into another sheet. I can do the copy part no problem but I am struggling with finding the string, I am using the InStr command but not sure if I ma making this to complicated, this is code I am struggling with : If InStr(string, Cells(bb, 65)) = 1 Then With string being the string I am searching for and bb being the row number and part of the loop The formula will recognise a complete string, but not part of string i.e. String = abcd_ Cell contains abcd_ match and I can copy data If cell contains abcd_efg no match and I want to take data from this row I hope this makes sense and someone can help me Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Find and Replace only the end of a cells text | Excel Discussion (Misc queries) | |||
Find / Compare Text in 2 different cells | Excel Discussion (Misc queries) | |||
Find Text in cells | Excel Discussion (Misc queries) | |||
how can i find cells which contain certain text? | Excel Worksheet Functions | |||
Find/Replace Text In Cells | Excel Discussion (Misc queries) |