Hey everyone,
First time post on here. I figured I can reach out to some of you guru's as I've been trying to figure this out on my own, and haven't been able to. I'm trying to find a way to paste special value cell(s) in a range ONLY if the cell contains a number. The attachment should help explain, what I'm trying to do, but the end result should have all the cells C2:F32 populated with a number (2nd tab titled "Scoring"). Below is the current code I'm working with...
Sub MacroLogData()
Sheets("Scoring (2)").Range("C2:F32").Copy Sheets("Scoring").Range("C2")
With Sheets("Scoring").Range("C2:F32").SpecialCells(xlFormulas, 1)
.Value = .Value
End With
Sheets("Scoring").Range("G2") = ""
Sheets("Response Tool").Range("C5").ClearContents
End Sub
First time post on here. I figured I can reach out to some of you guru's as I've been trying to figure this out on my own, and haven't been able to. I'm trying to find a way to paste special value cell(s) in a range ONLY if the cell contains a number. The attachment should help explain, what I'm trying to do, but the end result should have all the cells C2:F32 populated with a number (2nd tab titled "Scoring"). Below is the current code I'm working with...
Sub MacroLogData()
Sheets("Scoring (2)").Range("C2:F32").Copy Sheets("Scoring").Range("C2")
With Sheets("Scoring").Range("C2:F32").SpecialCells(xlFormulas, 1)
.Value = .Value
End With
Sheets("Scoring").Range("G2") = ""
Sheets("Response Tool").Range("C5").ClearContents
End Sub