Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
How do I minimize
I know how to open a program in excel. But how do I minimixe it after opening?
|
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
How do I minimize
Click the little 'minimize' button up in the upper right hand corner of the
window? Actually - you'll find 3 buttons the from right to left: X = Close big square = restore/maximize underscore looking button = minimize. "chrisnsmith" wrote: I know how to open a program in excel. But how do I minimixe it after opening? |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
How do I minimize
I know how to do that.
What I'm looking for is macro to do it automatically. "JLatham" wrote: Click the little 'minimize' button up in the upper right hand corner of the window? Actually - you'll find 3 buttons the from right to left: X = Close big square = restore/maximize underscore looking button = minimize. "chrisnsmith" wrote: I know how to open a program in excel. But how do I minimixe it after opening? |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
How do I minimize
OK, you said you know how to open a "program" - define program, please: some
other application such as Word, Access, Outlook, etc. or do you mean a workbook, i.e., another .xls file. If it's another workbook, then as soon as you open it, it becomes the ActiveWorkbook and is in the Active window, so you can use ActiveWindow.WindowState = xlMinimized right after opening the other workbook. "chrisnsmith" wrote: I know how to do that. What I'm looking for is macro to do it automatically. "JLatham" wrote: Click the little 'minimize' button up in the upper right hand corner of the window? Actually - you'll find 3 buttons the from right to left: X = Close big square = restore/maximize underscore looking button = minimize. "chrisnsmith" wrote: I know how to open a program in excel. But how do I minimixe it after opening? |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
How do I minimize
I should have been more explicit. I'm talking about MicrosoftMail. When I
open it I would like to minimize it to the system tray and then close it after my mail has been sent. "JLatham" wrote: OK, you said you know how to open a "program" - define program, please: some other application such as Word, Access, Outlook, etc. or do you mean a workbook, i.e., another .xls file. If it's another workbook, then as soon as you open it, it becomes the ActiveWorkbook and is in the Active window, so you can use ActiveWindow.WindowState = xlMinimized right after opening the other workbook. "chrisnsmith" wrote: I know how to do that. What I'm looking for is macro to do it automatically. "JLatham" wrote: Click the little 'minimize' button up in the upper right hand corner of the window? Actually - you'll find 3 buttons the from right to left: X = Close big square = restore/maximize underscore looking button = minimize. "chrisnsmith" wrote: I know how to open a program in excel. But how do I minimixe it after opening? |
#6
Posted to microsoft.public.excel.misc
|
|||
|
|||
How do I minimize
I'd probably need to see more of your code on how this is getting done. If
you're opening MicrosoftMail (a tool I don't use except to read usegroups) within Excel, then somewhere you've got a reference to the instance of it and should be able to use .Minimize and .Quit within your code to handle that, although determining when it has finished sending your mail may be a bit problematic. "chrisnsmith" wrote: I should have been more explicit. I'm talking about MicrosoftMail. When I open it I would like to minimize it to the system tray and then close it after my mail has been sent. "JLatham" wrote: OK, you said you know how to open a "program" - define program, please: some other application such as Word, Access, Outlook, etc. or do you mean a workbook, i.e., another .xls file. If it's another workbook, then as soon as you open it, it becomes the ActiveWorkbook and is in the Active window, so you can use ActiveWindow.WindowState = xlMinimized right after opening the other workbook. "chrisnsmith" wrote: I know how to do that. What I'm looking for is macro to do it automatically. "JLatham" wrote: Click the little 'minimize' button up in the upper right hand corner of the window? Actually - you'll find 3 buttons the from right to left: X = Close big square = restore/maximize underscore looking button = minimize. "chrisnsmith" wrote: I know how to open a program in excel. But how do I minimixe it after opening? |
#7
Posted to microsoft.public.excel.misc
|
|||
|
|||
How do I minimize
This is what I use to open MicrosoftMail.
Sub openmail() Application.ActivateMicrosoftApp xlMicrosoftMail End Sub I would like another macro to minimize the app on opening and close it after the mail is sent. "JLatham" wrote: I'd probably need to see more of your code on how this is getting done. If you're opening MicrosoftMail (a tool I don't use except to read usegroups) within Excel, then somewhere you've got a reference to the instance of it and should be able to use .Minimize and .Quit within your code to handle that, although determining when it has finished sending your mail may be a bit problematic. "chrisnsmith" wrote: I should have been more explicit. I'm talking about MicrosoftMail. When I open it I would like to minimize it to the system tray and then close it after my mail has been sent. "JLatham" wrote: OK, you said you know how to open a "program" - define program, please: some other application such as Word, Access, Outlook, etc. or do you mean a workbook, i.e., another .xls file. If it's another workbook, then as soon as you open it, it becomes the ActiveWorkbook and is in the Active window, so you can use ActiveWindow.WindowState = xlMinimized right after opening the other workbook. "chrisnsmith" wrote: I know how to do that. What I'm looking for is macro to do it automatically. "JLatham" wrote: Click the little 'minimize' button up in the upper right hand corner of the window? Actually - you'll find 3 buttons the from right to left: X = Close big square = restore/maximize underscore looking button = minimize. "chrisnsmith" wrote: I know how to open a program in excel. But how do I minimixe it after opening? |
#8
Posted to microsoft.public.excel.misc
|
|||
|
|||
How do I minimize
chrisnsmith wrote:
This is what I use to open MicrosoftMail. Sub openmail() Application.ActivateMicrosoftApp xlMicrosoftMail End Sub I would like another macro to minimize the app on opening and close it after the mail is sent. Why bother with a macro? Use keyboard shortcuts. Alt-Spacebar-N will minimize the app. Alt-F4 will close the app. Bill |
#9
Posted to microsoft.public.excel.misc
|
|||
|
|||
How do I minimize
That's the way I'd go with it since he's just used Excel to open Microsoft
Mail and hasn't actually used it to create an object that he can control any further within Excel. "Bill Sharpe" wrote: chrisnsmith wrote: This is what I use to open MicrosoftMail. Sub openmail() Application.ActivateMicrosoftApp xlMicrosoftMail End Sub I would like another macro to minimize the app on opening and close it after the mail is sent. Why bother with a macro? Use keyboard shortcuts. Alt-Spacebar-N will minimize the app. Alt-F4 will close the app. Bill |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Minimize UserForm | Excel Discussion (Misc queries) | |||
Can't minimize the 'save' box | Excel Discussion (Misc queries) | |||
Minimize?? | New Users to Excel | |||
how do i minimize/maximize a workbook from vba? I want to minimize it durring processing to speed things up a bit | Excel Worksheet Functions | |||
Minimize the filesize | Excel Discussion (Misc queries) |