Solved

Minimize an excel with userform

Posted on 2011-09-05
2
281 Views
Last Modified: 2012-05-12
Hi,

I have an excel with a userform, but i can't minimize the whole application.
I found on this forum the code
   With Application
     .WindowState = xlNormal
     .Top = 175  '< Adapt/Improve to handle resolutions
     .Left = 250 '< Same
     .Height = 1
     .Width = 1
     UserForm1.Show '< Adapt
     .WindowState = xlMinimized
   End With
but it doesn't work.
What i'am doing wrong?
Tx
0
Comment
Question by:sonmic
2 Comments
 
LVL 4

Expert Comment

by:Daelt
ID: 36483148
Did you try with this?

Application.Visible = False
or
 .Visible = False
0
 
LVL 32

Accepted Solution

by:
Rob Henson earned 500 total points
ID: 36483283
If you set the Form as Show Modal = False, it will minimise with the application.

Thanks
Rob H
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

INDEX and MATCH can be used to great effect to replace HLOOKUP and VLOOKUP as it does not have the limitation of needing the data to be sorted so that the reference value is in the first column or row. It also has the ability to perform a bi-directi…
This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now