LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Workbook_Open() and Object Not Found


Hi,

I am using the Workbook_Open() to open a form that I've built in VBA.
The Sub is very simple:


Code:
--------------------

Private Sub Workbook_Open()
printerSettingsForm.Show
End Sub

--------------------


The only problem is when running this I get the

Run-time error '424'

Object required

And it centers on the sub. I am assuming the problem has to do with
the fact I haven't properly declared or instaniated the object/Form
printerSettingsForm.

I tried goggling, but I couldn't find the proper technique to declare
an object. So I was wondering how I could fix this problem?


--
FCC
------------------------------------------------------------------------
FCC's Profile: http://www.excelforum.com/member.php...o&userid=35888
View this thread: http://www.excelforum.com/showthread...hreadid=558279

 
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
Excel found unreadable content in 'stock.chart.object.xlsm' jcmjcm Charts and Charting in Excel 0 May 21st 09 09:14 PM
Replace object causes an error if search text not found Scott Excel Programming 1 June 26th 06 08:13 PM
Option button object proeprties or object not found in vba Pete Straman S via OfficeKB.com Excel Programming 0 August 31st 05 05:49 PM
Workbook_Open Kevin R Excel Programming 4 February 8th 05 12:53 PM
WScript object not found (???) Tom Ogilvy Excel Programming 1 July 10th 03 10:59 PM


All times are GMT +1. The time now is 02:15 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"