Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default .Visible Property

Thanks Dan

Changing this gives me RTE 9 "Sub-script out or range". Thinking about it, I
really need to hide Excel & only disply the form. What is the easiest way of
doing this?

Paul


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 550
Default .Visible Property

Jollynicechap,

You could try this, but be careful with it as an error in the wrong
place might cause havoc.

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

You'll need to include an
Application.Visible = True
somewhere to get Excel back into view.

John

Jollynicechap wrote:

Thanks Dan

Changing this gives me RTE 9 "Sub-script out or range". Thinking about it, I
really need to hide Excel & only disply the form. What is the easiest way of
doing this?

Paul


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
How to Use DateLastModified Property in VBA? HROBERTSON Excel Discussion (Misc queries) 3 May 6th 23 03:45 AM
Windows Visible Property - Code Help Gerry O Excel Discussion (Misc queries) 2 September 6th 07 02:44 AM
Property Management nzatmj Excel Discussion (Misc queries) 1 March 22nd 06 06:26 PM
How to get Signature property! Ahmad Jalil Qarshi Excel Discussion (Misc queries) 1 March 8th 05 02:16 PM
Autoshapes not visible on spreadsheet but visible in print preview John Excel Discussion (Misc queries) 3 February 11th 05 11:23 PM


All times are GMT +1. The time now is 05:54 PM.

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

About Us

"It's about Microsoft Excel"