#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 65
Default 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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,420
Default 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



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,276
Default 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

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 65
Default 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




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,549
Default 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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Form.Close kirkm[_8_] Excel Programming 6 February 10th 09 07:32 AM
Close a form when you click outside of the form Alex St-Pierre Excel Programming 1 June 19th 08 10:57 PM
Call user form from ThisWorkbook; close file if form closed XP Excel Programming 2 July 20th 07 07:04 PM
Close form... pianoman[_34_] Excel Programming 6 June 5th 06 02:09 PM
close .chm with form ckoch Excel Programming 2 May 9th 06 07:49 PM


All times are GMT +1. The time now is 10:08 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"