Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Help with my user form


Hi guys, I have been trying to get a userform to work for a long tim
now with no luck, so I thought its time to ask.

I have made a custom userform that has three textbox and a submi
button.
I want the user to be able to type in three values in the boxes and us
the submit button to store the user input in three different define
variables.
Does anyone have the time to help on this

--
jnasr0
-----------------------------------------------------------------------
jnasr00's Profile: http://www.excelforum.com/member.php...fo&userid=2851
View this thread: http://www.excelforum.com/showthread.php?threadid=48303

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Help with my user form


Hello jnasr00,

The code for the Submit button will be placed in the Click_Event() by
default. So the code would look something like this...

Code:
--------------------

Sub Submit Click_Event()

Dim Var1 'Variable 1
Dim Var2 'Variable 2
Dim Var3 'Variable 3

Var1 = TextBox1.Text
Var2 = TextBox2.Text
Var3 = TextBox3.Text

End Sub

--------------------

Sincerely,
Leith Ross


--
Leith Ross
------------------------------------------------------------------------
Leith Ross's Profile: http://www.excelforum.com/member.php...o&userid=18465
View this thread: http://www.excelforum.com/showthread...hreadid=483037

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
How do I fill a cell in a user form from a selection on same form? Terry Tipsy Excel Discussion (Misc queries) 4 June 11th 07 02:59 PM
How to: User Form to assign a user defined range to a macro variab TrevTrav Excel Programming 1 March 22nd 05 07:57 PM
User Form Tony Excel Programming 8 October 29th 04 10:24 PM
I am looking to see if anybody has an equivalant user form to Outlooks CONTACT form BruceJ[_2_] Excel Programming 2 October 15th 03 05:28 PM


All times are GMT +1. The time now is 06:54 AM.

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

About Us

"It's about Microsoft Excel"