Hey guys. I have one more for the experts. I'm trying to create a macro that will find a location, input an equation, and autofill that equation to the bottom of the existing data. I tried recording the macro and using the double click feature, but when I was done, it didn't create a variable to the bottom of the existing data. I'm hoping someone can help me edit this code so that it will work the way I'm hoping. Here's what I have so far:
Let me know if you can help and I appreciate what help you can offer.
Thanks everyone!
Code:
Cells.Find(What:="cents off", After:=ActiveCell, LookIn:=xlFormulas, _
LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False, SearchFormat:=False).Activate
ActiveCell.Offset(1, 4).Range("A1").Select
Selection.NumberFormat = "General"
ActiveCell.FormulaR1C1 = "=RC[-4]&""OFF"""
ActiveCell.Select
Selection.AutoFill Destination:=ActiveCell.Range("A1:A325")
ActiveCell.Range("A1:A325").Select
End Sub
Let me know if you can help and I appreciate what help you can offer.
Thanks everyone!