Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 107
Default Is it possible to open only form when an excel file opens...

Or in the ThisWorkbook code module:
Private Sub Workbook_Open()
Application.Visible = False
UserForm1.Show
End Sub

keeping somethin somewhere to make it visible again such as
Private Sub UserForm_Terminate()
Application.Visible = True
End Sub

in the form's code module.

--
p45cal


"p45cal" wrote:

One way, in the form's code module:
Private Sub UserForm_Initialize()
Application.Visible = False
End Sub

Private Sub UserForm_Terminate()
Application.Visible = True
End Sub


--
p45cal


"SupperDuck" wrote:

Hello,

I can make visible = false for every sheet in startup. But... I do not want
to see even the borders of menus etc. of the excel.. Only the form.

Or if can not, i want to see the less for excel menus...

Regards,

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
Excel opens but does not open file Dianne Griffin Excel Discussion (Misc queries) 1 May 9th 08 11:17 PM
Double-clicking .xls file opens Excel but doesn't open the file DG Excel Discussion (Misc queries) 4 January 6th 06 02:20 AM
Can't open file in email & explorer, but excel opens ralegr Excel Discussion (Misc queries) 1 November 11th 05 03:38 PM
Open file in Excel it opens 2 copies Cricketer Excel Discussion (Misc queries) 1 October 14th 05 02:10 PM
when i open a file a new excel window opens. how do stop this susan Excel Discussion (Misc queries) 1 July 1st 05 03:08 PM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"