G
Guest
Hi,
I'm using Excel from Access VBA to create a graph. Access starts Excel and
loads an .xls-file with an Excel Macro. Access the starts the Excel macro.
The Excel macro loads the .xls-file with the data and creates the graph. VBA
in Access saves the graph and quits Excel. During this sequence Excel is
hidden to the user.
My problem is that some handshaking problem occurs when Excel quits and the
control returns to Access. I receive a message saying that " .... a
unexpected problem has ocurred...." The system then creates a report to
Microsoft for this problem.
The problem never occurs if I let Excel be visible to the user during the
same sequence.
Why does this problem occure and how do I solve it?
Access 2002, Excel 2002
Any help is appreciated!
I'm using Excel from Access VBA to create a graph. Access starts Excel and
loads an .xls-file with an Excel Macro. Access the starts the Excel macro.
The Excel macro loads the .xls-file with the data and creates the graph. VBA
in Access saves the graph and quits Excel. During this sequence Excel is
hidden to the user.
My problem is that some handshaking problem occurs when Excel quits and the
control returns to Access. I receive a message saying that " .... a
unexpected problem has ocurred...." The system then creates a report to
Microsoft for this problem.
The problem never occurs if I let Excel be visible to the user during the
same sequence.
Why does this problem occure and how do I solve it?
Access 2002, Excel 2002
Any help is appreciated!