ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   show the form as minimized window (https://www.excelbanter.com/excel-programming/272799-show-form-minimized-window.html)

Jean Oct

show the form as minimized window
 
Then if I want to show the form as minimized window
state , can I do so using VBA?


Cesar Zapata[_2_]

show the form as minimized window
 
I dont think you can. but you can change the size and posisiton so it looks
like a minize window.


If UserForm1.Height 30 Then

UserForm1.Height = 30
UserForm1.Left = 494
UserForm1.Top = 525
Else

UserForm1.Height = 180
UserForm1.Left = 258.5

UserForm1.Top = 203

End If

also make it modeless so you can work on the sheet while the form still
open.
"Jean Oct" wrote in message
...
Then if I want to show the form as minimized window
state , can I do so using VBA?





All times are GMT +1. The time now is 11:19 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com