Paste Special Vlaue

Sub PasteSpecial_values()
Dim rng As Range
Set rng = Cells(3, "L")
rng = "=COUNTIF(D2:D1842,D2)"
rng.Copy
rng.PasteSpecial Paste:=xlValues
End Sub

Comments

Popular posts from this blog

50 Excel VBA Oral Interview Questions