PC Review


Reply
 
 
SpeeD
Guest
Posts: n/a
 
      13th Feb 2009
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
 
Reply With Quote
 
 
 
 
Bob Phillips
Guest
Posts: n/a
 
      13th Feb 2009
You close a form from within the form, usually with a button that hides or
unloads it

Me.Hide

Unload Me

--
__________________________________
HTH

Bob

"SpeeD" <(E-Mail Removed)> wrote in message
news:E0146E28-0792-4420-BAE7-(E-Mail Removed)...
> 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



 
Reply With Quote
 
Eduardo
Guest
Posts: n/a
 
      13th Feb 2009
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

 
Reply With Quote
 
SpeeD
Guest
Posts: n/a
 
      13th Feb 2009
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" <(E-Mail Removed)> wrote in message
> news:E0146E28-0792-4420-BAE7-(E-Mail Removed)...
> > 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

>
>
>

 
Reply With Quote
 
Jim Cone
Guest
Posts: n/a
 
      14th Feb 2009
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" <(E-Mail Removed)>
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 With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
docmd.close forms - doesn't close the form Wuelf Microsoft Access Reports 1 18th Nov 2008 01:05 PM
Close button on a form will not close form - error 2585 - action cannot be carried out while processing a form Angus Comber Microsoft Access 2 19th Jul 2006 12:21 PM
Clear Checkbox field on close of form or close of report =?Utf-8?B?QnJvb2s=?= Microsoft Access Form Coding 2 14th Jan 2006 09:31 PM
How to close parent form and not to close a child form also? Viper Microsoft C# .NET 5 15th Oct 2004 08:33 PM
How to close a userform in a forusers, close protected form? De Wilde Eddy Microsoft Excel New Users 1 7th Jun 2004 06:58 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:31 PM.