MsDeth
New Member
- Joined
- May 8, 2004
- Messages
- 41
Can't figure out the correct terminology for a macro to format the interior of merged cells in a selected range...something along these lines:
With Selection
If .MergeCells = True Then
With Selection.Interior
.ColorIndex = 19
.Pattern = xlSolid
.PatternColorIndex = 17
End With
End If
End With
'etc., etc.
I realize that this code won't work, but hope that it gives the gist of what I'm asking--any suggestions much appreciated!
With Selection
If .MergeCells = True Then
With Selection.Interior
.ColorIndex = 19
.Pattern = xlSolid
.PatternColorIndex = 17
End With
End If
End With
'etc., etc.
I realize that this code won't work, but hope that it gives the gist of what I'm asking--any suggestions much appreciated!