Question : Excel Application WindowState xlNormal

Hello Everyone...

    I have learned by using the following you set up the size of the excel window... thnx to bullethead...

   Application.Left = 571
   Application.Top = -2
   Application.Width = 198
   Application.Height = 282.75

However, is a code I can use the find out what the size of the screen is currently at...

Example:

  I size the excel window screen myself... then I run a code.. and it would enter on a worksheet:
A1:  Application.Left = ???
A2:  Application.Top = ???
A3:  Application.Width = ???
A4:  Application.Height = ???

Thank You

Tony_813

Answer : Excel Application WindowState xlNormal

The properties are read/write so you can just read from them, e.g.

Control G (immediate window)

? application.height

Do you mean something else?

Steve
Random Solutions  
 
programming4us programming4us