Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Failed userform loading and cause application crash


Hi there, I've got a very weird problem almost killing me:

I've got a userform which cannot be loaded successfully everytime and
cause the application crash.
It's definitely not working when you first open the workbook but works
in most times after I loaded other forms but sometimes not.

It also works for one time when I open the VB editor but not making any
changes. but once you save the workbook and open it again, it just came
back to 'normal' and crash the application to shut down itself.

The problem disappears when I tried removing all codes in the
private useform_initialize(). However, again, it cannot even work with
a simple line like : userform1.combobox1.additem "test".

This is a really weird problem I even think it's some bugs of the
excel. I consulted the IT department of my company but no solution.

I really hope someone can help me out of this as this is part of my
project and the deadline is looming.

Thanks very much in Advance


--
noiseash
------------------------------------------------------------------------
noiseash's Profile: http://www.excelforum.com/member.php...o&userid=26629
View this thread: http://www.excelforum.com/showthread...hreadid=399041

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,290
Default Failed userform loading and cause application crash

n,

Delete the userform, save your workbook then build a new userform.

Jim Cone
San Francisco, USA


"noiseash"

wrote in message


Hi there, I've got a very weird problem almost killing me:

I've got a userform which cannot be loaded successfully everytime and
cause the application crash.
It's definitely not working when you first open the workbook but works
in most times after I loaded other forms but sometimes not.

It also works for one time when I open the VB editor but not making any
changes. but once you save the workbook and open it again, it just came
back to 'normal' and crash the application to shut down itself.

The problem disappears when I tried removing all codes in the
private useform_initialize(). However, again, it cannot even work with
a simple line like : userform1.combobox1.additem "test".

This is a really weird problem I even think it's some bugs of the
excel. I consulted the IT department of my company but no solution.

I really hope someone can help me out of this as this is part of my
project and the deadline is looming.

Thanks very much in Advance


--
noiseash
------------------------------------------------------------------------
noiseash's Profile: http://www.excelforum.com/member.php...o&userid=26629
View this thread: http://www.excelforum.com/showthread...hreadid=399041

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Loading UserForm gives error Mats Samson Excel Programming 3 August 3rd 05 08:06 AM
Application.Quit en Excel crash Jos Vens[_2_] Excel Programming 4 April 8th 05 01:27 PM
Loading UserForm on start up. Kobus Excel Programming 2 April 1st 05 11:13 AM
Userform & crash [email protected] Excel Programming 0 March 1st 05 01:48 PM
Opening a UserForm causes a crash in the Exit procedure (Which is never called) Brent McIntyre Excel Programming 0 May 12th 04 12:37 PM


All times are GMT +1. The time now is 12:23 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"