ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Displaying form on startup? (https://www.excelbanter.com/excel-programming/318256-displaying-form-startup.html)

PEno1

Displaying form on startup?
 
Hi all, I have created a form and now I would like it to appear as soon as
Excel starts up. If its possible I would like it to appear as a standalone
program (if that makes sense)

TIA,
PE1



Frank Kabel

Displaying form on startup?
 
Hi
for starting it directly after opening put your code in the
workbook_open event procedure of your workbook

--
Regards
Frank Kabel
Frankfurt, Germany

"PEno1" schrieb im Newsbeitrag
...
Hi all, I have created a form and now I would like it to appear as

soon as
Excel starts up. If its possible I would like it to appear as a

standalone
program (if that makes sense)

TIA,
PE1




Vic Eldridge

Displaying form on startup?
 
Try this,


Private Sub Workbook_Open()
Application.Visible = False
UserForm1.Show
Application.Visible = True
End Sub


Regards,
Vic Eldridge


"PEno1" wrote in message ...
Hi all, I have created a form and now I would like it to appear as soon as
Excel starts up. If its possible I would like it to appear as a standalone
program (if that makes sense)

TIA,
PE1



All times are GMT +1. The time now is 02:45 PM.

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