Discussion Locked

OleMainThreadWndName Error

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
While program written VBA for Office 2000 attempts to close an Excel Workbook, a page fault occurres and Norton Utilities shows the error in OleMainThreadWndName as the fault. How do I correct the problem? What is this error?

1 reply

by andrew

I've experienced this also.

Try closing/destroying all objects that may be dependant on the workbook object before destroying the workbook object itself.

This discussion is closed to new replies.