ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Loading Form on Startup II (https://www.excelbanter.com/excel-programming/326609-loading-form-startup-ii.html)

nca-wom

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?




Chip Pearson

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?







All times are GMT +1. The time now is 07:52 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com