ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Minimize to Tray Button (https://www.excelbanter.com/excel-programming/374248-minimize-tray-button.html)

[email protected]

Minimize to Tray Button
 
Anyone have code that creates a button that will Minimize Excel to the
system tray.

I do not need anything complicated like changing the minimize button or
the close button to a minimize to tray button. I have a Form that pops
up when excel loads, and I will add a command button called Minimize
that I just want to minimize excel to the system tray.

Thanks for your help.


NickHK

Minimize to Tray Button
 
Here's how in VB
http://vb-helper.com/howto_tray_icon.html

However, this is for designing an app to have this function; Excel was not
designed this way. I dare say you could write some wrapper to handle, but I
can't see any way that will less complicated than "changing the minimize
button".

NickHK

wrote in message
oups.com...
Anyone have code that creates a button that will Minimize Excel to the
system tray.

I do not need anything complicated like changing the minimize button or
the close button to a minimize to tray button. I have a Form that pops
up when excel loads, and I will add a command button called Minimize
that I just want to minimize excel to the system tray.

Thanks for your help.






[email protected]

Minimize to Tray Button
 
Thanks Nick. I took a quick look at the code and I think it should
work.

Thanks again.


NickHK[_3_]

Minimize to Tray Button
 
Good luck. Save your work often.
Post back if you get it working.

NickHK


roups.com...
Thanks Nick. I took a quick look at the code and I think it should
work.

Thanks again.





All times are GMT +1. The time now is 04:51 PM.

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