Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have a userform(1) with 12 textboxes, in each textbox there is a name.
Userform2 there are 12 commandbuttons which will open userform to amend details. Is there a way that the commandbuttons reflect what is written in each textbox? -- AOU |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Private Sub Userform_Activate()
With Me .CommandButton1.Caption = Userform1.TextBox1.Text 'etc End With this presumes that you haven't unloaded the first form. -- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "AOU" wrote in message ... I have a userform(1) with 12 textboxes, in each textbox there is a name. Userform2 there are 12 commandbuttons which will open userform to amend details. Is there a way that the commandbuttons reflect what is written in each textbox? -- AOU |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Bob,
Fantastic.........you must have a huge brain! It works a treat....many thanks -- AOU "Bob Phillips" wrote: Private Sub Userform_Activate() With Me .CommandButton1.Caption = Userform1.TextBox1.Text 'etc End With this presumes that you haven't unloaded the first form. -- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "AOU" wrote in message ... I have a userform(1) with 12 textboxes, in each textbox there is a name. Userform2 there are 12 commandbuttons which will open userform to amend details. Is there a way that the commandbuttons reflect what is written in each textbox? -- AOU |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Command Button | Excel Worksheet Functions | |||
command button | Excel Worksheet Functions | |||
VBA Command Button | Excel Discussion (Misc queries) | |||
Command Button | Excel Worksheet Functions | |||
command button | New Users to Excel |