Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Opening Size of Spreadsheet

This may be a stretch, but what I did was make a very
small section of a spreadsheet a little program. Is
there a way to set the windowsize of the workbook when it
opens?

If I new VB I could make this little program on a canvas
that opens to the size that I want. I can do it in Excel
but I don't need the spreadsheet or Excel (for that
matter) to open maximized.

thanks for the help,

matt
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,080
Default Opening Size of Spreadsheet

Paste the following code into the ThisWorkbook code module:

Private Sub Workbook_Open()
With Application
.WindowState = xlNormal
.Height = 300
.Width = 500
.Top = 100
.Left = 100
End With
End Sub

Adjust the numbers to suit.

--

Vasant





"Powlaz" wrote in message
...
This may be a stretch, but what I did was make a very
small section of a spreadsheet a little program. Is
there a way to set the windowsize of the workbook when it
opens?

If I new VB I could make this little program on a canvas
that opens to the size that I want. I can do it in Excel
but I don't need the spreadsheet or Excel (for that
matter) to open maximized.

thanks for the help,

matt



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Opening Size of Spreadsheet

Thank you, very helpful!

Matt
-----Original Message-----
Paste the following code into the ThisWorkbook code

module:

Private Sub Workbook_Open()
With Application
.WindowState = xlNormal
.Height = 300
.Width = 500
.Top = 100
.Left = 100
End With
End Sub

Adjust the numbers to suit.

--

Vasant





"Powlaz" wrote in

message
...
This may be a stretch, but what I did was make a very
small section of a spreadsheet a little program. Is
there a way to set the windowsize of the workbook when

it
opens?

If I new VB I could make this little program on a

canvas
that opens to the size that I want. I can do it in

Excel
but I don't need the spreadsheet or Excel (for that
matter) to open maximized.

thanks for the help,

matt



.

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
Default Opening Window Size? PBJ Excel Discussion (Misc queries) 2 June 19th 07 03:08 PM
can i size an Excel workbook window's opening size? ncjenny Excel Discussion (Misc queries) 0 November 12th 06 04:03 PM
finding out File size before opening it MarkS Excel Discussion (Misc queries) 1 September 1st 06 10:10 AM
excel file late for opening big size 20.60 mb ? hema Excel Discussion (Misc queries) 0 April 3rd 06 11:46 AM
problems opening files larger than 1mb in size richtea Excel Discussion (Misc queries) 1 March 21st 06 06:20 PM


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