PC Review


Reply
Thread Tools Rate Thread

Custom Form Closing

 
 
=?Utf-8?B?Wm95YQ==?=
Guest
Posts: n/a
 
      4th Sep 2007
I have a custom information input form with two buttons: Reset and Show
Disclosures. I need the Show Dislosures button upon clicking on it take the
data entered, populate the spreadsheet and close the form.
While I have completed the first functionality, I can't figure out how to
close the form without closing the Excel Worksheet or Workbook.
Please help.

 
Reply With Quote
 
 
 
 
=?Utf-8?B?TWljaGFlbA==?=
Guest
Posts: n/a
 
      4th Sep 2007
Usually you just do the following:

UserForm1.Hide

Unless Iam missing something; if this doesn't work please elaborate.

--
If this posting was helpful, please click on the Yes button.
Regards,

Michael Arch.




"Zoya" wrote:

> I have a custom information input form with two buttons: Reset and Show
> Disclosures. I need the Show Dislosures button upon clicking on it take the
> data entered, populate the spreadsheet and close the form.
> While I have completed the first functionality, I can't figure out how to
> close the form without closing the Excel Worksheet or Workbook.
> Please help.
>

 
Reply With Quote
 
New Member
Join Date: Aug 2007
Posts: 18
 
      4th Sep 2007
at the end of the code :

Code:
 unload Userform1
 
Reply With Quote
 
=?Utf-8?B?Wm95YQ==?=
Guest
Posts: n/a
 
      4th Sep 2007
Thank you so much! I just got fixated on the "closing" and didn't think that
it could be so simple.
Thank you again!

"Michael" wrote:

> Usually you just do the following:
>
> UserForm1.Hide
>
> Unless Iam missing something; if this doesn't work please elaborate.
>
> --
> If this posting was helpful, please click on the Yes button.
> Regards,
>
> Michael Arch.
>
>
>
>
> "Zoya" wrote:
>
> > I have a custom information input form with two buttons: Reset and Show
> > Disclosures. I need the Show Dislosures button upon clicking on it take the
> > data entered, populate the spreadsheet and close the form.
> > While I have completed the first functionality, I can't figure out how to
> > close the form without closing the Excel Worksheet or Workbook.
> > Please help.
> >

 
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
closing custom form armando cazzetta Microsoft Outlook VBA Programming 0 2nd Nov 2006 04:15 PM
automatically send e-mail when closing a custom outlook form =?Utf-8?B?S2VlZm8=?= Microsoft Outlook Form Programming 1 27th May 2006 02:22 PM
Showing form , closing login form but not closing app, how Bob Microsoft VB .NET 3 21st Dec 2005 07:54 PM
Closing event in a MID Child form I don't know if the child form is closing or the main form is closing **Developer** Microsoft C# .NET 1 19th Oct 2005 04:51 PM
Multiple OutputTo (Called on Closing Form) Fails on Closing Database John Andrews Microsoft Access Macros 3 21st May 2004 08:54 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:17 PM.