ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Show Form, Hide all Sheets (https://www.excelbanter.com/excel-programming/300986-show-form-hide-all-sheets.html)

John Pierce

Show Form, Hide all Sheets
 
I have heard that an open workbook must have at least one
sheet visible, so I was wondering if it would be possible
to have an Excel file open so that only a UserForm is visible?

Tom Ogilvy

Show Form, Hide all Sheets
 
application.Visible = False
Userform1.Show

--
Regards,
Tom Ogilvy


"John Pierce" wrote in message
m...
I have heard that an open workbook must have at least one
sheet visible, so I was wondering if it would be possible
to have an Excel file open so that only a UserForm is visible?




ross

Show Form, Hide all Sheets
 
Hi,

Yep, i think so.

In the when you show the form, use
ActiveWindow.Visible = False
or refer the wind another way etc.


Good Luck
Ross.

(John Pierce) wrote in message om...
I have heard that an open workbook must have at least one
sheet visible, so I was wondering if it would be possible
to have an Excel file open so that only a UserForm is visible?



All times are GMT +1. The time now is 11:14 AM.

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