ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Close Form (https://www.excelbanter.com/excel-programming/424082-close-form.html)

SpeeD

Close Form
 
Hi.

I simply need to close a form... the code is the folowing but cant make it
work.. what am i doing wrrong??

Processar.Show
Main part of the code.....
Processar.Close

Thanks
SpeeD

Bob Phillips[_3_]

Close Form
 
You close a form from within the form, usually with a button that hides or
unloads it

Me.Hide

Unload Me

--
__________________________________
HTH

Bob

"SpeeD" wrote in message
...
Hi.

I simply need to close a form... the code is the folowing but cant make it
work.. what am i doing wrrong??

Processar.Show
Main part of the code.....
Processar.Close

Thanks
SpeeD




Eduardo

Close Form
 
Hi ,
Take a look to Debra web it explain in detail how to create an exit button
and give you the code at the bottom of the page

http://contextures.com/xlUserForm01.html

"SpeeD" wrote:

Hi.

I simply need to close a form... the code is the folowing but cant make it
work.. what am i doing wrrong??

Processar.Show
Main part of the code.....
Processar.Close

Thanks
SpeeD


SpeeD

Close Form
 
Hi.

I need to make a form or message appear when the macro starts to run and
close at the end of that macro.
It´s a message telling the user to wait some seconds for the macro to
process the data.

How can i do this?

Thanks SpeeD



"Bob Phillips" wrote:

You close a form from within the form, usually with a button that hides or
unloads it

Me.Hide

Unload Me

--
__________________________________
HTH

Bob

"SpeeD" wrote in message
...
Hi.

I simply need to close a form... the code is the folowing but cant make it
work.. what am i doing wrrong??

Processar.Show
Main part of the code.....
Processar.Close

Thanks
SpeeD





Jim Cone[_2_]

Close Form
 
Take a long at the post titled "Progress" by Basta1980 - today 02/13/2009.
The trick is to run your macro from the activate event of the form you are displaying.
--
Jim Cone
Portland, Oregon USA



"SpeeD"
wrote in message
Hi.
I need to make a form or message appear when the macro starts to run and
close at the end of that macro.
It´s a message telling the user to wait some seconds for the macro to
process the data.
How can i do this?
Thanks SpeeD



All times are GMT +1. The time now is 03:34 AM.

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