Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default Userforms fill screen whatever resolution

Hi,

I am designing a system that I want to look like it is not an Excel
spreadsheet. I would therefore like the UserForms to fill the screen. I can
do this manually but if somebody else has a different screen resolution it
doesn't fit right.

Is there a way of doing this automatically?
Can you use an if to determine screen resolution?

Thanks in advance for any help you can offer.
JohnP
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 533
Default Userforms fill screen whatever resolution

Not the way to go, in my opinion. Never try to take over the entire screen.

Better to use Application.Visible = False to make Excel disappear. Just be
sure to make it visible again when your form closes.

--
Jim
"JohnP" wrote in message
...
| Hi,
|
| I am designing a system that I want to look like it is not an Excel
| spreadsheet. I would therefore like the UserForms to fill the screen. I
can
| do this manually but if somebody else has a different screen resolution it
| doesn't fit right.
|
| Is there a way of doing this automatically?
| Can you use an if to determine screen resolution?
|
| Thanks in advance for any help you can offer.
| JohnP


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default Userforms fill screen whatever resolution

Hi Jim,

I just added that code in and closed and saved it despite your wanring. It
now closes as soon as it opens. Is there a way around this. I have tried to
Ctrl Break as it opens.

Please help!!!!

"Jim Rech" wrote:

Not the way to go, in my opinion. Never try to take over the entire screen.

Better to use Application.Visible = False to make Excel disappear. Just be
sure to make it visible again when your form closes.

--
Jim
"JohnP" wrote in message
...
| Hi,
|
| I am designing a system that I want to look like it is not an Excel
| spreadsheet. I would therefore like the UserForms to fill the screen. I
can
| do this manually but if somebody else has a different screen resolution it
| doesn't fit right.
|
| Is there a way of doing this automatically?
| Can you use an if to determine screen resolution?
|
| Thanks in advance for any help you can offer.
| JohnP



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default Userforms fill screen whatever resolution

Are you sure it closed, or just not visible. Us Alt + F11 to see if the VB
editor will open when the screen goes blank. Another method is to open it as
a second workbook when another is open, then access the VB editor to get to
your code and modify it.

"JohnP" wrote:

Hi Jim,

I just added that code in and closed and saved it despite your wanring. It
now closes as soon as it opens. Is there a way around this. I have tried to
Ctrl Break as it opens.

Please help!!!!

"Jim Rech" wrote:

Not the way to go, in my opinion. Never try to take over the entire screen.

Better to use Application.Visible = False to make Excel disappear. Just be
sure to make it visible again when your form closes.

--
Jim
"JohnP" wrote in message
...
| Hi,
|
| I am designing a system that I want to look like it is not an Excel
| spreadsheet. I would therefore like the UserForms to fill the screen. I
can
| do this manually but if somebody else has a different screen resolution it
| doesn't fit right.
|
| Is there a way of doing this automatically?
| Can you use an if to determine screen resolution?
|
| Thanks in advance for any help you can offer.
| JohnP



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 533
Default Userforms fill screen whatever resolution

Set macro security on medium and then disable them at the prompt when you
open your workbook. Then fix your code.

--
Jim
"JohnP" wrote in message
...
| Hi Jim,
|
| I just added that code in and closed and saved it despite your wanring. It
| now closes as soon as it opens. Is there a way around this. I have tried
to
| Ctrl Break as it opens.
|
| Please help!!!!
|
| "Jim Rech" wrote:
|
| Not the way to go, in my opinion. Never try to take over the entire
screen.
|
| Better to use Application.Visible = False to make Excel disappear. Just
be
| sure to make it visible again when your form closes.
|
| --
| Jim
| "JohnP" wrote in message
| ...
| | Hi,
| |
| | I am designing a system that I want to look like it is not an Excel
| | spreadsheet. I would therefore like the UserForms to fill the screen.
I
| can
| | do this manually but if somebody else has a different screen
resolution it
| | doesn't fit right.
| |
| | Is there a way of doing this automatically?
| | Can you use an if to determine screen resolution?
| |
| | Thanks in advance for any help you can offer.
| | JohnP
|
|
|


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 get the screen resolution in VBA Stefan Mueller[_2_] Excel Programming 2 August 28th 07 10:21 AM
Screen Resolution Jason Zischke Excel Programming 2 February 15th 06 05:36 AM
Screen Resolution Ronbo Excel Programming 2 January 17th 05 08:45 PM
Screen resolution Arkimediz Excel Programming 3 April 1st 04 05:23 PM
VBA code to make CUSTOM VIEW fill ANY RESOLUTION SCREEN www.ttdown.com Excel Programming 2 February 24th 04 03:56 PM


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

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"