ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Minimize a form (https://www.excelbanter.com/excel-programming/275091-minimize-form.html)

Bruce Roberson

Minimize a form
 
I'm running a spreadsheet form modeless.

While focus is being given to the spreadsheet, is there a
way before the focus changes to the spreadsheet, for the
form to be minimized, and then automatically maximize
itself once the macro in question finishes?

Thanks,


Bruce

Dick Kusleika

Minimize a form
 
Bruce

Userform1.Hide
'Macro code here
Userform1.Show

Is that what you're after?

--
Dick Kusleika
MVP - Excel
www.dicks-clicks.com
Post all replies to the newsgroup.

"Bruce Roberson" wrote in message
...
I'm running a spreadsheet form modeless.

While focus is being given to the spreadsheet, is there a
way before the focus changes to the spreadsheet, for the
form to be minimized, and then automatically maximize
itself once the macro in question finishes?

Thanks,


Bruce




Bruce Roberson

Minimize a form
 
Yes, that looks like it would serve my purpose.

Thanks
-----Original Message-----
Bruce

Userform1.Hide
'Macro code here
Userform1.Show

Is that what you're after?

--
Dick Kusleika
MVP - Excel
www.dicks-clicks.com
Post all replies to the newsgroup.

"Bruce Roberson" wrote in

message
...
I'm running a spreadsheet form modeless.

While focus is being given to the spreadsheet, is there

a
way before the focus changes to the spreadsheet, for the
form to be minimized, and then automatically maximize
itself once the macro in question finishes?

Thanks,


Bruce



.



All times are GMT +1. The time now is 05:38 PM.

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