Function Max(r As Range)
k = 0
For Each n In r
If k = 0 Then
M = n
ElseIf n > M Then
M = n
End If
k = k + 1
Next n
Max = M
End Function
Private Sub Worksheet_Activate()
Application.Calculate
End Sub
Function aa(tt As Range)
i = 0
For Each c In tt
c.font.bold=true
Next
End Function
Сейчас этот форум просматривают: Google-бот и гости: 10