ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Always open Excel file with Userform (https://www.excelbanter.com/excel-programming/326888-always-open-excel-file-userform.html)

Santhosh Mani[_2_]

Always open Excel file with Userform
 
I want to load the Userform first when ever I open a particular Excel file
which is saved with that specific Userform? Pls Help
Santhosh
Kuwait

OJ[_2_]

Always open Excel file with Userform
 
Hi,
Load the form from a Workbook_Open event. This is found in the
ThisWorkbook class module....

Private Sub Workbook_Open()
Load UserForm1
UserForm1.Show
End Sub

Hth,
OJ


Santhosh Mani

Always open Excel file with Userform
 
Thankyou So much

"OJ" wrote:

Hi,
Load the form from a Workbook_Open event. This is found in the
ThisWorkbook class module....

Private Sub Workbook_Open()
Load UserForm1
UserForm1.Show
End Sub

Hth,
OJ




All times are GMT +1. The time now is 08:36 AM.

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