The code I have below applies to all worksheets in a blank workbook. But when I add the same code to an existing workbook which has a 60pg macro (no code has been established for Font though in those 60pgs.), the code applies to worksheet 1 alone. Not to the other worksheets. How can I edit the code below to apply to all worksheets in the workbook w/o altering the existing macro? Kindly help.
Dim r As Range
Set r = Range("a1:i1")
r.Font.Bold = True
r.Font.Name = "Segoe UI Symbol"
r.Font.Size = 14
Set r = Range("a2:i100")
r.Font.Bold = True
r.Font.Name = "Segoe UI Symbol"
r.Font.Size = 11
'End Sub
End Sub
This code works. But is simply not applying to all worksheets except the first one.