You are on page 1of 1

Dim objExcel As Object = CreateObject("excel.

application")
Dim R As Single
Dim ZR As Object
R = Val(ComBoxR.Text) / 100
ZR = objExcel.worksheetfunction.normsinv(R)
LabelZR.Text = Math.Round(ZR, 3)
Dim objExcel As New Excel.Application
Dim R As Single
Dim ZR As Object
R = Val(ComBoxR.Text) / 100
ZR = objExcel.worksheetfunction.normsinv(R)
LabelZR.Text = Math.Round(ZR, 3)

You might also like