[TABLE="width: 128"]
<colgroup><col width="64" span="2" style="width:48pt"> </colgroup><tbody>[TR]
[TD="width: 64"]A[/TD]
[TD="width: 64, align: right"]14[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD="align: right"]16[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD="align: right"]68[/TD]
[/TR]
[TR]
[TD]D[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]E[/TD]
[TD="align: right"]32[/TD]
[/TR]
[TR]
[TD]F[/TD]
[TD="align: right"]25[/TD]
[/TR]
[TR]
[TD]G[/TD]
[TD="align: right"]25[/TD]
[/TR]
[TR]
[TD]H[/TD]
[TD="align: right"]55[/TD]
[/TR]
</tbody>[/TABLE]
i want D=0 should have color
<colgroup><col width="64" span="2" style="width:48pt"> </colgroup><tbody>[TR]
[TD="width: 64"]A[/TD]
[TD="width: 64, align: right"]14[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD="align: right"]16[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD="align: right"]68[/TD]
[/TR]
[TR]
[TD]D[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]E[/TD]
[TD="align: right"]32[/TD]
[/TR]
[TR]
[TD]F[/TD]
[TD="align: right"]25[/TD]
[/TR]
[TR]
[TD]G[/TD]
[TD="align: right"]25[/TD]
[/TR]
[TR]
[TD]H[/TD]
[TD="align: right"]55[/TD]
[/TR]
</tbody>[/TABLE]
Code:
Sub using_the_resize_property_to_change_thesizeofRangeMethod1()
Set Rng = Range("B1:B15").Find(what:="0", lookat:=xlWhole, LookIn:=xlValues)
Rng.Offset(, -1).Resize(, 2).Interior.ColorIndex = 15
End Sub