K
keith
Public Sub test()
Hello,
I thought I asked this before, but can't seem to find the
answer when I search the forum. Hope it's not too much
trouble to ask again.
I have a test subroutine in Access. I need to call the
Excel NORMDIST(...) function, and use the answer in Access.
It seems to me that the following code should work, but
for adding the right language where the "????"s are. But
can't find this in the help file.
any suggestions?
public sub test()
Dim MyVar1 As Double
Dim ExcelSheet As Object
Set ExcelSheet = CreateObject("Excel.Sheet")
MyVar1 =ExcelSheet.?????
ExcelSheet.Application.Quit
' Release the object variable.
Set ExcelSheet = Nothing
End Sub
Hello,
I thought I asked this before, but can't seem to find the
answer when I search the forum. Hope it's not too much
trouble to ask again.
I have a test subroutine in Access. I need to call the
Excel NORMDIST(...) function, and use the answer in Access.
It seems to me that the following code should work, but
for adding the right language where the "????"s are. But
can't find this in the help file.
any suggestions?
public sub test()
Dim MyVar1 As Double
Dim ExcelSheet As Object
Set ExcelSheet = CreateObject("Excel.Sheet")
MyVar1 =ExcelSheet.?????
ExcelSheet.Application.Quit
' Release the object variable.
Set ExcelSheet = Nothing
End Sub