Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 50057

VBA Macro to Find and Replace a Number > 10 with 0 in a Range

$
0
0
Hello,

I am on the greener side of programming in VBA and am hoping somene kind can help me.

I have a report where a range, say column B, rows 6 to 300 (B6:B300) I need to find the numbers in the cells in said range that are greater than 10 and replace them with the number 0.

Does anyone know how to write this in VBA? I've attached my workbook below.

Thank you, in advance, for any help to me.

Chris
Attached Files

Viewing all articles
Browse latest Browse all 50057

Trending Articles