show the form as minimized window

J

Jean Oct

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

Cesar Zapata

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top