02-21-2009, 11:40 AM
Hello,
I'm reading cells in a hidden excel sheet and it works great, but i have one problem..
Function is called from a dialog proc, and it seems that connection still exist untill the dialog is closed.
If i open excel file manually, i'm getting the message that it's allready open and then an empty window..
But it should be closed, or what:
wb.Saved=TRUE; err
wb.Application.Quit
Thanks for any help!
Joergen
I'm reading cells in a hidden excel sheet and it works great, but i have one problem..
Function is called from a dialog proc, and it seems that connection still exist untill the dialog is closed.
If i open excel file manually, i'm getting the message that it's allready open and then an empty window..
But it should be closed, or what:
wb.Saved=TRUE; err
wb.Application.Quit
Thanks for any help!
Joergen