How to find a cell in a macro..
Closed
bassem
-
May 10, 2011 at 07:16 AM
RWomanizer Posts 365 Registration date Monday February 7, 2011 Status Contributor Last seen September 30, 2013 - May 12, 2011 at 05:56 AM
RWomanizer Posts 365 Registration date Monday February 7, 2011 Status Contributor Last seen September 30, 2013 - May 12, 2011 at 05:56 AM
Related:
- How to find a cell in a macro..
- Excel online macro - Guide
- How to delete a single cell in word - Guide
- Excel run macro on open - Guide
- Automatically run macro in excel when cell changes - Guide
- Macro for number to words in excel - Guide
1 response
RWomanizer
Posts
365
Registration date
Monday February 7, 2011
Status
Contributor
Last seen
September 30, 2013
120
May 12, 2011 at 05:56 AM
May 12, 2011 at 05:56 AM
Use this code, it will helps you
Sub Test()
Dim cell, Rng As Range
Set Rng = Range("A1:K" & Cells(Rows.Count, 1).End(xlUp).Row) ' Set your range
For Each Cell In Rng
If cell.Value = "Tylenol" Then
cell.offset(0,1).formula = "your Formula" ' put your formula
End If
Next Cell
End Sub