I
ianripping
I have this code: -
Dim ange1
ange1 = ActiveSheet.Range("m140").Value
Set rng = Range(ange1)
rng.ClearContents
rng.Select
With Selection.Interior
.ColorIndex = 2
.Pattern = xlSolid
.PatternColorIndex = xlAutomatic
Basically it looks at the range entered in m140 and uses that range t
delete any records in that range.
I would like to add an IF function that says if the range is c138:y13
then do nothing, otherwise opperate as normal.
Can anyone help me
Dim ange1
ange1 = ActiveSheet.Range("m140").Value
Set rng = Range(ange1)
rng.ClearContents
rng.Select
With Selection.Interior
.ColorIndex = 2
.Pattern = xlSolid
.PatternColorIndex = xlAutomatic
Basically it looks at the range entered in m140 and uses that range t
delete any records in that range.
I would like to add an IF function that says if the range is c138:y13
then do nothing, otherwise opperate as normal.
Can anyone help me