Hi Munnjo,
Yes you can use excel function in vb.net. You need to add reference to
Microsoft.Office.Interop.Excel first.
Then you can use it like this
Imports Microsoft.Office.Interop.Excel
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim excelApp As Application
excelApp = CreateObject("Excel.Application")
excelApp.WorksheetFunction.ErfC(parameter)
End Sub
End Class
Besides, you can get better response at
VBA forum
Regards
Jeff Shan
Please remember to mark the replies as answers if they help and unmark them if they provide no help.