Sub baba()
x = Range("TB").Address
MsgBox x
x = Replace(x, "G", "H")
MsgBox x
Range(x).Select
End Sub
For Each cl In ActiveWindow.Selection
cl = ActiveCell.Formula
If LCase(Left(cl, 3)) = "=or" Then
ActiveCell.FormulaR1C1 = "=sum(RC1:RC3)"
End If
Next
For Each cl In ActiveWindow.Selection
If LCase(Left(cl.Formula, 3)) = "=or" Then
cl.FormulaR1C1 = "=sum(RC1:RC3)"
End If
Next
Copyright©1996-2021,Tapuz Media Ltd. Forum software by XenForo® © 2010-2020 XenForo Ltd.