I continue to receive a runtime error 1004 when I attempt to use the celing function in Access. I have created a module which looks like the following:
Public Function MyCeiling(inputval As Double, roundval As Double) As Double
MyCeiling = Excel.WorksheetFunction.Ceiling(inputval, roundval)
End Function
The Excel library 11.0 is checked and active. I get the results once, but can not export, sum the data, or run it again without removing the module and starting over.
Does anyone have any clues as to how to fix this?
Public Function MyCeiling(inputval As Double, roundval As Double) As Double
MyCeiling = Excel.WorksheetFunction.Ceiling(inputval, roundval)
End Function
The Excel library 11.0 is checked and active. I get the results once, but can not export, sum the data, or run it again without removing the module and starting over.
Does anyone have any clues as to how to fix this?