Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Below is a Sub I have written. I have huge data in Sheet3 with
different forms of names containing "shell". Whenever I encounter shell in column A of Sheet3 I should write SHELL in column F Sub NameBusiness() Dim srchResult As Integer Dim temp As String temp = "search(""*shell*"",sheet3!a2,1)" For i = 2 To 59998 srchResult = ActiveSheet.Evaluate(temp) If (srchResult = 1) = True Then Sheet3.Cells(i, 6) = "Exxon Mobil" End If Next i End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
"Basic File Search" | Excel Discussion (Misc queries) | |||
Why can't I do a "basic search" of my computer in Excel 2007 | New Users to Excel | |||
Can I run Visual Basic procedure using Excel Visual Basic editor? | Excel Programming | |||
Create a search Field within a worksheet to search command buttons | Excel Programming | |||
Problems in Visual Basic Editior, In search of a command | Excel Programming |