Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Documnet_open() code is not working

Hi, I have following code in Thisworkbook to load the form but for
some reason its not loading the form. Can someone pl. tell me what
needs to be corrected.


Private Sub Startup()
Load Frm1
Frm1.Show
End Sub

Private Sub Document_New()
Startup
End Sub

Private Sub Document_Open()
Startup
End Sub

Thanks!
-Payal
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 57
Default Documnet_open() code is not working

Payal,

Are you trying to trap when the user opens or creates a new workbook? If so,
this message by Peter Beach may help:
http://tinyurl.com/2f62a

HTH
Anders Silven

"Payal" skrev i meddelandet
om...
Hi, I have following code in Thisworkbook to load the form but for
some reason its not loading the form. Can someone pl. tell me what
needs to be corrected.


Private Sub Startup()
Load Frm1
Frm1.Show
End Sub

Private Sub Document_New()
Startup
End Sub

Private Sub Document_Open()
Startup
End Sub

Thanks!
-Payal


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
VBA Code Not Working tictox Excel Discussion (Misc queries) 0 July 6th 10 06:40 PM
Vb Code not working bob Excel Programming 3 January 5th 04 01:29 PM
why this code not working tj Excel Programming 0 September 2nd 03 07:14 PM
why this code not working Bernie Deitrick[_2_] Excel Programming 0 September 2nd 03 05:08 PM
Code not working Bob Phillips[_5_] Excel Programming 5 August 14th 03 03:12 PM


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