I have programmatically created an Excel spreadsheet from my VB6 program. I then go on to update the Excel spreadsheet by creating new sheets and adding data into those sheets.
My problem is that is an inconsistency in its performance - in some cases the process works fine, but at other times it fails because the create hasn't worked. If I run in debug it always works. I suspect that the program is trying to access the spreadsheet before the create operation is complete. Can this happen?, has anybody experienced this before?, is their any sort of wait operation that can be applied?
Any help would be much appreciated.
My problem is that is an inconsistency in its performance - in some cases the process works fine, but at other times it fails because the create hasn't worked. If I run in debug it always works. I suspect that the program is trying to access the spreadsheet before the create operation is complete. Can this happen?, has anybody experienced this before?, is their any sort of wait operation that can be applied?
Any help would be much appreciated.