Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Is there an easier way to do this macro ?
The textboxes are from the control toolbox. I will have up to 25 textboxes included in this routine. This macro sits in a normal module. Sub LoadBox(T1) Select Case T1 Case 1 ActiveSheet.EditBox.Text = ActiveSheet.TextBox1.Text Case 2 ActiveSheet.EditBox.Text = ActiveSheet.TextBox2.Text Case 3 ActiveSheet.EditBox.Text = ActiveSheet.TextBox3.Text Case 4 ActiveSheet.EditBox.Text = ActiveSheet.TextBox4.Text End Select End Sub Help much appreciated. Andrew Bourke |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
'Find' textbox value macro | Excel Discussion (Misc queries) | |||
a macro that Formats a textbox based on value in a cell | Excel Worksheet Functions | |||
Forms Textbox and Assign Macro | Excel Programming | |||
textbox in a macro | Excel Programming | |||
Excel VBA/Macro - Textbox | Excel Programming |