Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Option Explicit
Sub SL_OPE()
Dim SL As Double
Dim Xs() As Variant, Ys() As Variant
Dim X4, Y4, K4
X4 = 89.24
Y4 = 89.38
K4 = 90.03
'NUMERO DI ARGOMENTI UGUALI PER Xs e Ys
Xs = Array(X4, Y4, K4)
Ys = Array(1, 2, 3)
SL = Application.WorksheetFunction.Slope(Xs, Ys)
'OPPURE PIU VELOCE SE IN LOOP CELLE
'With Application.WorksheetFunction
' SL = .Slope(Ys, Xs)
'End With
End Sub