Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi all,
I have designed a user form for one of my workbooks that collects data from the user. I have three textboxes that collect numeric values. When a user enters data into TextBox1 only or in both TextBox1 and TextBox2, and a value is entered into TextBox3, I would like for TextBox4 (or Label1) to calculate by the figure entered into TextBox3 by the number of textboxes (either only TextBox1 or both TextBox1 and TextBox2) that have data entered. For example: TextBox1 = 100000 TextBox2 = left blank TextBox3 = 50 therefore TextBox4 (or Label1)= 50 If TextBox2 =200000, then TextBox4 (or Label1) will then equal 100. I would like for TextBox4 (Label1) to be updated automatically once the user has moved the focus from TextBox3. Is this possible? Thanx in advance. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
You can use the "AfterUpdate" or "Exit" event of the textbox to do the processing HTH Kalpesh |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
fomulas for tracking time entered text or data | Excel Discussion (Misc queries) | |||
adding text that appears after the entered data | Setting up and Configuration of Excel | |||
Auto calculate formulas when new data is entered | Excel Discussion (Misc queries) | |||
Data not entered yet - formula calculate blank | Excel Discussion (Misc queries) | |||
Can a cell be linked to read data entered into a text box ? | Excel Discussion (Misc queries) |