Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
find ????
hi
I have implemented a find option to search for a particular string, if found then copy the data what lies under it to a certain row lets say row 500 and then copy, does anybody know vba code for this. Regards, ------------------------------------------------ ~~ Message posted from http://www.ExcelTip.com/ ~~ View and post usenet messages directly from http://www.ExcelForum.com/ |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
find ????
Something like:
Dim rngFind As Range Dim sString As String sString = "abcd" Sub Tester() Set rngFind = Cells.Find(What:=sString, LookAt:=xlPart) If Not rngFind Is Nothing Then Cells(500, 3) = rngFind End If End Sub Not sure what you mean by copy a string to a row. If you mean put the string in every cell in Rows(500) you could do this with Rows(500) = rngFind HTH, Shockley "solo_razor" wrote in message ... hi I have implemented a find option to search for a particular string, if found then copy the data what lies under it to a certain row lets say row 500 and then copy, does anybody know vba code for this. Regards, ------------------------------------------------ ~~ Message posted from http://www.ExcelTip.com/ ~~ View and post usenet messages directly from http://www.ExcelForum.com/ |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Find First Non blank cell than find column header and return that value | Excel Worksheet Functions | |||
where to put results of find operation in find and replace functio | Excel Worksheet Functions | |||
Despite data existing in Excel 2002 spreadsheet Find doesn't find | Excel Discussion (Misc queries) | |||
'find' somtimes can't find numbers. I folowd the 'help' instructi. | Excel Worksheet Functions | |||
How do I find a file/spreadsheet that Excel says is Already open but I can't find it? | Excel Discussion (Misc queries) |