Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problems with EnableEvents on XP

Status
Not open for further replies.

ghild

Computer
Joined
Apr 15, 2002
Messages
4
Location
US
I'm working with a rather complex XLA application that
previously had no problems involving EnableEvents when run
in Office 97/2000. In Office XP it does crash however.

Application.EnableEvents is set to False while a
subroutine populates the rows of a sheet with data stored
in memory. Concurrently, a userform displays a progress
bar. Previously, while the sheet was being populated, the user was able to click and highlight cells, or switch between sheets in the active workbook.
On XP, however, do so results in the following error:

"Run-time error '50290': Method 'EnableEvents' of
object '_Application' failed."

Are there any known problems with EnableEvents in XP that
cause it to behave differently than in previous versions?

Thanks
 
Hi there,

Did you solve the problem? I had the same error when migrate a spread sheet from 97/2000 to Excel XP.

Thanks,

Lynn
 
Actually no... we've tried, and put it off for awhile. Actually, next week I am supposed to devote my time entirely to figuring out how to fix it. Let me know if you have any insight into it...
 
Hi,

I have excatly the same issue as you. I try to migrate a VBA app from Office 97/2000 to XP and I get the Run-time error '50290'. I have looked at many forums but it was not helpful.
Please help me if you can,

Nicolas.
 
Have you tried posting this on Tek-Tips? There are more resources there for this type of question.

TTFN
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top