Hi
I assume by gridlines, you mean borders? If so, try amending the macro to as
shown below which will ensure the resultant formatting will be free from
borders. [If, in fact, you do mean gridlines, you'll find gridlines
disappear
once you have "colored" a cell.]
Sub FormatSelection()
Selection.AutoFormat Format(xlRangeAutoFormatList1), _
True, True, True, False, True, True
End Sub
--
XL2002
Regards
William
(e-mail address removed)
| thanks
| is there anyways to disable gridlines for a selection though? while the
| rest of the worksheet remains the same?
|
|
| ---
| Message posted
|