Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Loading Form on Startup II

I see the post from another guy. I had the code already, but it is not
loading my form.

Private Sub Workbook_Open()
frmMain.Show
End Sub

I am getting nothing when the workbook opens.
The code is under the Modules | Module1 area.

Any ideas?



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Loading Form on Startup II

You need to put this code in the ThisWorkbook code module, not
Module1.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"nca-wom" wrote in message
...
I see the post from another guy. I had the code already, but it
is not
loading my form.

Private Sub Workbook_Open()
frmMain.Show
End Sub

I am getting nothing when the workbook opens.
The code is under the Modules | Module1 area.

Any ideas?





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 stop excel 2007 from loading a blank workbook on startup? badbartman New Users to Excel 1 January 3rd 08 01:57 PM
Loading Excel Data into a Form DLayne Excel Programming 2 November 4th 04 10:35 AM
VBA - Loading a certain page when firing up a form khot78 Excel Programming 2 August 10th 04 05:42 PM
Loading values into a form on open. J. Vandenberg Excel Programming 3 September 28th 03 03:38 AM
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 12:32 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"