clear cell

J

John Keturi

I am setting cell formats using the With Selection.Interior
.ColorIndex = 0
.Pattern = xlGray8
.PatternColorIndex = xlAutomatic
? Can I clear the cell value by adding another expression to this?
Thanks
 
P

Paul B

John,
Selection.ClearContent

--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2000 & 97
** remove news from my email address to reply by email **
 
J

JE McGimpsey

One way:

With Selection.Interior
.ColorIndex = 0
.Pattern = xlGray8
.PatternColorIndex = xlAutomatic
.Parent.ClearContents
End With
 
Top