View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Drummer361 Drummer361 is offline
external usenet poster
 
Posts: 16
Default Save As causes Crash!

Okay I guess I should have given specifics, sorry about that! ;)

I have 2 worksheets and an Introductory UserForm that opens when you
enable macros. You read some info on the Intro Userform, and then
click "Next" and that closes the first userform and opens the REAL
userform with all of the code. It is at either the first userform
closing or the 2nd userform opening that causes the program to crash...


Within this userform I have multiple Modules with Public codes. The
XLS is stored on my harddrive on my personal computer right now with
Administrator priviledges. I have Office 2000 and Windows XP with all
the updates.


ducky wrote:
Drummer361 wrote:
Hello,

I wondered if anyone has come across this problem in the past:

I have an Excel VBA UserForm with a Save As button. It successfully
saves the file as a new file in a location I choose, and then
successfully closes.

I then go to open the NEW file, and it crashes upon Form entry. I get
this error message:

Run-time error '-2147417848 (80010108)':

Automation error
The object invoked has disconnected from its clients.


If I click END or DEBUG it dumps and unloads, and asks to send the
errors to Microsoft.


where is your form stored? where are your 2 different workbooks
stored? are you using multiple instances of excel?

AR