evilmousse
Programmer
I'm attempting to format an automatically output excel file
before the user receives it. I've succeeded in freezing the panes as I need to, but I'm having some troubles setting the background color of the title row. I can see the code I already have does indeed set the bg color, but then it is set away again. All of it happens in a flash, but not so fast I couldn't spot it happening.
here's my code:
Rows("1:1"
.Select
With Selection.Interior
.ColorIndex = 6
.PatternColorIndex = xlAutomatic
End With
thx in advance
-g
before the user receives it. I've succeeded in freezing the panes as I need to, but I'm having some troubles setting the background color of the title row. I can see the code I already have does indeed set the bg color, but then it is set away again. All of it happens in a flash, but not so fast I couldn't spot it happening.
here's my code:
Rows("1:1"
With Selection.Interior
.ColorIndex = 6
.PatternColorIndex = xlAutomatic
End With
thx in advance
-g