Trying to figure out how to use cwmatrix.unitvector. Looks straightforward but I always get type mismatches.
Thanks for any feedback.
Private Sub Command1_Click() 'operates on #'s pasted into grid
Dim spec1() As Variant
Dim xx As Integer
Dim zz as integer
Dim norm() As Variant
Dim xyyy As Variant
xx = grid1.DataRowCnt
ReDim spec1(xx)
'ReDim norm(xx)
For zz = 1 To xx
grid1.Col = 1
grid1.Row = xx
spec1(xx) = grid1.Text
Next zz
xyyy = CWMatrix1.UnitVector(spec1(), norm)
End Sub