Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default LOAD userform

OS: Windows 2000
App: Excel 2000

I have a userform in my Personal Macro Workbook called "frmPunchlistEntry"
and generally the macro below works fine. I just can't figure out why fails
to load with an "Application-defined or object-defined error" at the "Load"
statement.

Sub PunchlistEntry()
Load frmPunchlistEntry
frmPunchlistEntry.Show
End Sub

Any ideas? Thanks.

--
JohnTheTemp
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default LOAD userform

Well...I discovered that I get the same error when activating the userform
from the VB Editor. So the problem isn't with "Load".

There's something about the workbook I currently have open. The userform
works fine with another workbook.

--
JohnTheTemp


"JohnTheTemp" wrote:

OS: Windows 2000
App: Excel 2000

I have a userform in my Personal Macro Workbook called "frmPunchlistEntry"
and generally the macro below works fine. I just can't figure out why fails
to load with an "Application-defined or object-defined error" at the "Load"
statement.

Sub PunchlistEntry()
Load frmPunchlistEntry
frmPunchlistEntry.Show
End Sub

Any ideas? Thanks.

--
JohnTheTemp

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default LOAD userform

The problem turned out to be Range Names which were accessed by the
macros--but they weren't used in the newer spreadsheet.
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
How Do I Load A ComboBox On A UserForm Minitman[_4_] Excel Programming 4 October 26th 04 07:40 PM
UserForm label doesn't load? Ed[_18_] Excel Programming 4 June 21st 04 07:53 PM
UserForm Wont Load Minitman[_4_] Excel Programming 6 April 29th 04 07:49 AM
new error when try to load userform izchk shtifman Excel Programming 1 December 30th 03 06:09 PM
Load a Userform Nick Excel Programming 1 September 10th 03 03:24 PM


All times are GMT +1. The time now is 10:47 AM.

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"