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 Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

user forms

Status
Not open for further replies.

bencnu

Technical User
Nov 3, 2003
34
US
I am having trouble figureing out how to use a user form... I made a user for called nortech and i have an ok button called ok and cancel button called cancle. I also have a text box called textbox1. I want what is typed in the text box to be put in a cell (for ex c4) when the ok button is clicked. But when the cancel button is clicked i don't want anything to happen. The problem is i don't even know how to call the userform or anything like that....
 
Hi
I'm assuming you are still working in the same project as before?

Either way, call the form in the same way your code was triggered before and use these lines (you don't really need both but to keep it pure)
Code:
Load nortech
nortech.Show

For the code for your cancel button use
Code:
unload nortech
end

Again you may not need both lines but sometimes the forms remain in memory which could eventually lead to problems.
;-)


If a man says something and there are no women there to hear him, is he still wrong? [ponder]
The faqs ma'am, just the faqs. Get the best from these forums : faq222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top