Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Userforms

Status
Not open for further replies.

moontho

Technical User
Jun 4, 2003
85
GB
Hi there.

2 quick questions that i've been trying to workout today, but to no avail.

Firstly, what is the difference between using the show method for a userform, compared to the load method....

and secondly, is there any benefit in writing the code for a userform, or writing it in a module and calling it from there.

Many thanks

Thom
 
(1) If you hide the form and use Show, it becomes visible and if not loaded, is loaded.

(2) keeping the code with the form has the benefit of encapsulation. The form and associated code are together, self-contained.

I'm sure others will expand on all this.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top