unknownymous
Board Regular
- Joined
- Sep 19, 2017
- Messages
- 249
- Office Version
- 2016
- Platform
- Windows
Hello Gurus,
I'm getting a syntax error on this part of my code. Anyone who can help me tweak the code below?
= = = =
Sub Check
With Range("Z2")
.Formula = "=IF(Z2<0,"Less",IF(Z2>0,"Add",IF(Z2=0,"Zero")))"
With .Resize(Range("A" & Rows.Count).End(xlUp).Row - 1)
.FillDown
.Copy
.PasteSpecial xlPasteValues
End With
End With
End Sub
= = = = =
Appreciate your assistance.
I'm getting a syntax error on this part of my code. Anyone who can help me tweak the code below?
= = = =
Sub Check
With Range("Z2")
.Formula = "=IF(Z2<0,"Less",IF(Z2>0,"Add",IF(Z2=0,"Zero")))"
With .Resize(Range("A" & Rows.Count).End(xlUp).Row - 1)
.FillDown
.Copy
.PasteSpecial xlPasteValues
End With
End With
End Sub
= = = = =
Appreciate your assistance.