
ub Formatta()
Dim I As Integer
Dim Fgl
Dim Ws
For Each Fgl In Array("Prs_pari", "Prs_disp")
Set Ws = Sheets(Fgl)
With Ws.Range("B5:N23")
.NumberFormat = "General"
.Font.Name = "Arial"
.HorizontalAlignment = xlDistributed
For I = 5 To 23
Ws.Activate
Ws.Range(Cells(I, 2), Cells(I, 14)).MergeCells = True
Next I
End With
Next Fgl
End Sub |
