Minimize an excel with userform

Posted on 2011-09-05
Last Modified: 2012-05-12

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?
Question by:sonmic

Expert Comment

ID: 36483148
Did you try with this?

Application.Visible = False
 .Visible = False
LVL 31

Accepted Solution

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

Rob H

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

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 article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

747 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

11 Experts available now in Live!

Get 1:1 Help Now