Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 24
Default Problems loading user form

I'm trying to load a user form:

Sub ShowUFMain()
ufMain.Show
End Sub

I get a Microsoft Visual Basic dialog box:
Run-time error '-2147352571 (80020005)':
Type mismatch

This was working earlier. What to do???

Excel 2003 VBA
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 24
Default Problems loading user form

Problem solved. Even though the ufMain.Show line was identified as the
offending problem, the form was trying to load a value that wasn't there. So
the offending line was really elsewhere in the code.

"Stu W" wrote:

I'm trying to load a user form:

Sub ShowUFMain()
ufMain.Show
End Sub

I get a Microsoft Visual Basic dialog box:
Run-time error '-2147352571 (80020005)':
Type mismatch

This was working earlier. What to do???

Excel 2003 VBA

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 problems Gilbert DE CEULAER Excel Discussion (Misc queries) 1 January 25th 09 04:45 PM
Transfer data to form from Excel range upon loading of form. Rob Crawford Excel Programming 2 October 24th 05 03:59 PM
user form text box date problems Francis Brown Excel Programming 5 October 20th 05 02:39 PM
Loading a calendar (user form) from another project (personal.xls) Ollie[_2_] Excel Programming 1 September 25th 05 09:33 PM
Auto loading of a user form sometimes -\) Excel Programming 1 August 2nd 03 12:32 AM


All times are GMT +1. The time now is 10:29 PM.

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

About Us

"It's about Microsoft Excel"