Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
TEXTBOX in USERFORM
I have a Userform1
In a worksheet, when i select a number of cells (any cells) what is the code to put in text in these cells with use of the textbox on the userform. thank you |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
TEXTBOX in USERFORM
Do you mean something like?
Userform1.Textbox1.Text = ACtivecell.Value -- HTH RP (remove nothere from the email address if mailing direct) "RUUD VAN DEURSEN" wrote in message ... I have a Userform1 In a worksheet, when i select a number of cells (any cells) what is the code to put in text in these cells with use of the textbox on the userform. thank you |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
TEXTBOX in USERFORM
When i doubleclick on the textbox1 i can past the code
like this: Private Sub TextBox1_Change() UserForm1.TextBox1.Text = ActiveCell.Value End Sub Is this the right procedure But it is not possible to fill the textbox with text. -----Original Message----- Do you mean something like? Userform1.Textbox1.Text = ACtivecell.Value -- HTH RP (remove nothere from the email address if mailing direct) "RUUD VAN DEURSEN" wrote in message ... I have a Userform1 In a worksheet, when i select a number of cells (any cells) what is the code to put in text in these cells with use of the textbox on the userform. thank you . |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
TEXTBOX in USERFORM
I presume that you mean
Private Sub TextBox1_DblClick(ByVal Cancel As MSForms.ReturnBoolean) UserForm1.TextBox1.Text = ActiveCell.Value End Sub -- HTH RP (remove nothere from the email address if mailing direct) wrote in message ... When i doubleclick on the textbox1 i can past the code like this: Private Sub TextBox1_Change() UserForm1.TextBox1.Text = ActiveCell.Value End Sub Is this the right procedure But it is not possible to fill the textbox with text. -----Original Message----- Do you mean something like? Userform1.Textbox1.Text = ACtivecell.Value -- HTH RP (remove nothere from the email address if mailing direct) "RUUD VAN DEURSEN" wrote in message ... I have a Userform1 In a worksheet, when i select a number of cells (any cells) what is the code to put in text in these cells with use of the textbox on the userform. thank you . |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
TEXTBOX in USERFORM
Thank You.
-----Original Message----- I presume that you mean Private Sub TextBox1_DblClick(ByVal Cancel As MSForms.ReturnBoolean) UserForm1.TextBox1.Text = ActiveCell.Value End Sub -- HTH RP (remove nothere from the email address if mailing direct) wrote in message ... When i doubleclick on the textbox1 i can past the code like this: Private Sub TextBox1_Change() UserForm1.TextBox1.Text = ActiveCell.Value End Sub Is this the right procedure But it is not possible to fill the textbox with text. -----Original Message----- Do you mean something like? Userform1.Textbox1.Text = ACtivecell.Value -- HTH RP (remove nothere from the email address if mailing direct) "RUUD VAN DEURSEN" wrote in message ... I have a Userform1 In a worksheet, when i select a number of cells (any cells) what is the code to put in text in these cells with use of the textbox on the userform. thank you . . |
#6
Posted to microsoft.public.excel.programming
|
|||
|
|||
TEXTBOX in USERFORM
You have it reversed:
Private Sub TextBox1_Change() ActiveCell.Value = UserForm1.TextBox1.Text End Sub to put the value of the textbox into the cell. -- Regards, Tom Ogilvy wrote in message ... When i doubleclick on the textbox1 i can past the code like this: Private Sub TextBox1_Change() UserForm1.TextBox1.Text = ActiveCell.Value End Sub Is this the right procedure But it is not possible to fill the textbox with text. -----Original Message----- Do you mean something like? Userform1.Textbox1.Text = ACtivecell.Value -- HTH RP (remove nothere from the email address if mailing direct) "RUUD VAN DEURSEN" wrote in message ... I have a Userform1 In a worksheet, when i select a number of cells (any cells) what is the code to put in text in these cells with use of the textbox on the userform. thank you . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
WordWrap a TextBox on a UserForm | Excel Discussion (Misc queries) | |||
userform textbox | Excel Worksheet Functions | |||
Textbox in userform | Excel Programming | |||
Textbox in userform | Excel Programming | |||
UserForm TextBox to ActiveSheet TextBox over 256 characters | Excel Programming |