Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Modules / DAO / VBA / January 2006

Tip: Looking for answers? Try searching our database.

Handshaking problems between Access and Excel

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kjell - 16 Jan 2006 11:16 GMT
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!  
Signature

Kjell

Dirk - 16 Jan 2006 11:37 GMT
Hmm as far as I know application crashes shouldn't happen if you stick to the
default VBA + DAO + Office extensions. I have had similar application crashes
in some cases that were reproducable on other systems. The only thing you can
do is try to avoid doing whatever it is that made the system crash in the
first place. Since you cannot go into Office's sourcecode and fix there is
nothing you can do except create workarounds.

> Hi,
> I'm using Excel from Access VBA to create a graph. Access starts Excel and
[quoted text clipped - 14 lines]
>
> Any help is appreciated!  
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.