Hello,
I have a function:
Public Function ExcelCeiling(Number As Double, Significance As Double) As Double
ExcelCeiling = Excel.WorksheetFunction.Ceiling(Number, Significance)
End Function
that i use in my program
however i noticed it causes problems
After the function is run, if I hit
ctrl-alt-del
I see that there is an "Excel" application running.
If I end that task, and then try to run the function again.
It will not let me, I get an error that:
"The remote server machine does not exist or is unavailable"
How do I properly write this function so I do not have "Excel" left open, and can still run the function more than once?
I know this is confusiong, if more info or description is needed please let me know.
Thank you very much
Kib
I have a function:
Public Function ExcelCeiling(Number As Double, Significance As Double) As Double
ExcelCeiling = Excel.WorksheetFunction.Ceiling(Number, Significance)
End Function
that i use in my program
however i noticed it causes problems
After the function is run, if I hit
ctrl-alt-del
I see that there is an "Excel" application running.
If I end that task, and then try to run the function again.
It will not let me, I get an error that:
"The remote server machine does not exist or is unavailable"
How do I properly write this function so I do not have "Excel" left open, and can still run the function more than once?
I know this is confusiong, if more info or description is needed please let me know.
Thank you very much
Kib