Hi all, I have put together a set of sub routines to format a document but how do I put it altogether into one sub routine?
Sub InsertHeader()
With Selection.Font
.Name = "Arial"
.Size = 11
.ColorIndex = 1
End With
End Sub
Sub RigidFormattingProcedure()
ActiveSheet.Range("A:A,B:B,C:C,D:D,M:M,N:N,O:O").EntireColumn.AutoFit
End Sub
Sub Bold()
Dim rngRow As Range
For Each rngRow In Range("A1:O1").Rows
If rngRow.Cells(1).Value > 1 Then
rngRow.Font.Bold = True
Else
rngRow.Font.Bold = False
End If
Next rngRow
End Sub
Sub InsertHeader()
With Selection.Font
.Name = "Arial"
.Size = 11
.ColorIndex = 1
End With
End Sub
Sub RigidFormattingProcedure()
ActiveSheet.Range("A:A,B:B,C:C,D:D,M:M,N:N,O:O").EntireColumn.AutoFit
End Sub
Sub Bold()
Dim rngRow As Range
For Each rngRow In Range("A1:O1").Rows
If rngRow.Cells(1).Value > 1 Then
rngRow.Font.Bold = True
Else
rngRow.Font.Bold = False
End If
Next rngRow
End Sub