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

Hi experts,

I would like to have my userform fullscreen so that the screen resolution
does not matter anymore..
oes somebody have the code for that ?
Thanks,
Pierre


--
Message posted via http://www.officekb.com
  #2   Report Post  
Posted to microsoft.public.excel.programming
Ian Ian is offline
external usenet poster
 
Posts: 238
Default userform fullscreen

With UserForm1
.Top = 1
.Left = 1
.Height = Application.UsableHeight
.Width = Application.UsableWidth
End With

--
Ian
--
"Pierre via OfficeKB.com" <u13950@uwe wrote in message
news:56cd3877cd85f@uwe...
Hi experts,

I would like to have my userform fullscreen so that the screen resolution
does not matter anymore..
oes somebody have the code for that ?
Thanks,
Pierre


--
Message posted via http://www.officekb.com



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default userform fullscreen

This uses the usable area, but if you want to cover the whole Excel app,
then use

Application.WindowState = xlMaximized
With Application
Me.Top = .Top
Me.Left = .Left
Me.Height = .Height
Me.Width = .Width
End With


If you want true maximize like a standard app, you need APIs.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Ian" wrote in message
...
With UserForm1
.Top = 1
.Left = 1
.Height = Application.UsableHeight
.Width = Application.UsableWidth
End With

--
Ian
--
"Pierre via OfficeKB.com" <u13950@uwe wrote in message
news:56cd3877cd85f@uwe...
Hi experts,

I would like to have my userform fullscreen so that the screen

resolution
does not matter anymore..
oes somebody have the code for that ?
Thanks,
Pierre


--
Message posted via http://www.officekb.com





  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 122
Default userform fullscreen

Hi Ian,

Do you also know how to get a multipage centered on a userform ?
thanks man !
Pierre

Ian wrote:
With UserForm1
.Top = 1
.Left = 1
.Height = Application.UsableHeight
.Width = Application.UsableWidth
End With

Hi experts,

[quoted text clipped - 3 lines]
Thanks,
Pierre



--
Message posted via http://www.officekb.com
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default userform fullscreen

See other thread

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Pierre via OfficeKB.com" <u13950@uwe wrote in message
news:56d97708921a7@uwe...
Hi Ian,

Do you also know how to get a multipage centered on a userform ?
thanks man !
Pierre

Ian wrote:
With UserForm1
.Top = 1
.Left = 1
.Height = Application.UsableHeight
.Width = Application.UsableWidth
End With

Hi experts,

[quoted text clipped - 3 lines]
Thanks,
Pierre



--
Message posted via http://www.officekb.com



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
useform autosize to fullscreen problem Pierre via OfficeKB.com Excel Worksheet Functions 1 November 3rd 05 10:03 AM
deactivate fullscreen MD Excel Programming 3 March 13th 05 08:52 PM
FullScreen Question MD Excel Programming 0 January 6th 05 02:10 PM
Fullscreen Michelle Excel Programming 1 August 13th 04 02:31 PM
Display a range fullscreen Stuart[_5_] Excel Programming 2 July 15th 04 12:36 PM


All times are GMT +1. The time now is 08:09 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"