Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 59
Default Re-size active window

is it possible to change the size of the Excel window with VBA?

not minimize but set to certain height/width parameters

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200706/1

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 226
Default Re-size active window

Hi

You could use something like the code below to change the size of the
excel app

Private Sub Workbook_Open()
With Application
.WindowState = xlNormal
.Height = 200
.Width = 200
End With
End Sub

Hope it helps you out

S

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 59
Default Re-size active window

perfect thanks



Incidental wrote:
Hi

You could use something like the code below to change the size of the
excel app

Private Sub Workbook_Open()
With Application
.WindowState = xlNormal
.Height = 200
.Width = 200
End With
End Sub

Hope it helps you out

S


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200706/1

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
missing Active Window bar Gomer Fackworth New Users to Excel 4 May 28th 08 02:13 PM
how to save a desired window size but hv window comeup fullsz by d smjm1982 Excel Discussion (Misc queries) 1 February 15th 08 11:10 AM
Active Window Question CWillis Excel Discussion (Misc queries) 4 July 19th 06 05:52 PM
I can't adjust the window size of an active workbook. Julie Excel Discussion (Misc queries) 1 January 26th 05 05:19 PM
active window Gerry Excel Programming 2 December 17th 04 03:33 PM


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