Hello,
Forgive me as I know nothing about the VBA language.
Can you please edit the following code to select and only format Row 1 with the following formatting?
Forgive me as I know nothing about the VBA language.
Can you please edit the following code to select and only format Row 1 with the following formatting?
Sub HeaderFormat()
'
' header Macro
'
' Keyboard Shortcut: Ctrl+h
'
With Selection.Interior
.Pattern = xlSolid
.PatternColorIndex = xlAutomatic
.Color = 65535
.TintAndShade = 0
.PatternTintAndShade = 0
End With
Selection.Font.Bold = True
With ActiveWindow
.SplitColumn = 0
.SplitRow = 1
End With
ActiveWindow.FreezePanes = True
End Sub
Last edited: