Solved

Problem facing in XL after exporting data from VB to XL.

Posted on 1998-06-09
3
252 Views
Last Modified: 2010-05-03
After exporting data to XL from VB. If I close XL then no error appears, but if I close the workbook window error appears "This program has performed an illegal operation and will be shut down"
0
Comment
Question by:thussain
3 Comments
 
LVL 1

Expert Comment

by:redbaron082997
ID: 1462874
it appears that you have a corrupt file. If you would like to send a freshly exported file (one that you have not opened yet) to me I will checkit out
mailto:redbaron@flash.net

0
 
LVL 1

Accepted Solution

by:
web_crusher earned 100 total points
ID: 1462875
you probebly using access and excel not from the same version - excel 5 and access 2 are working fine - to use excel highe you'll have to get excel 7.0 !

there are a few runtime dll's that are needed and conficting between them - use excel 7.0 at least - my suggestion - aviod using access 97 - its still has many faults like every microsoft new software!
0
 

Author Comment

by:thussain
ID: 1462876
Thanks ! I have solved the problem by changing my code in VB...

Before I was making excel workbook visible after exporting all the data to excel.Now I am making excel workbook visible before exporting of data to excel.

The above change has sorted my problem.

Regards,
Tasaduq Hussain

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now