ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Type in textbox display immediately in cell - need help on this (https://www.excelbanter.com/excel-programming/302391-type-textbox-display-immediately-cell-need-help.html)

HappyDevil24[_5_]

Type in textbox display immediately in cell - need help on this
 
Hi all,

I have a userform with some textboxes. Does anyone know how to get what
type in the textboxes and quickly reflect in a selected cell?

Current, I can only get the value or text in the textbox and put in the
cell after user press the commandbutton. I would like user to preview it
immediate in the cell as well.

Any advise? Thanks!


---
Message posted from http://www.ExcelForum.com/


mangesh_yadav[_24_]

Type in textbox display immediately in cell - need help on this
 
For the concerned textbox, write the code for inserting th
textbox.value to the required cell, in its (textbox's) "Change" o
"Exit" event.

Manges

--
Message posted from http://www.ExcelForum.com


Binzelli[_10_]

Type in textbox display immediately in cell - need help on this
 
If I understand your question correctly, you want to put the value of a
textbox on a form directly in a cell as it changes !?

If that's the case, use the _Change event of the textbox, for example for a
textbox called "txtStart":


Private Sub txtStart_Change()

ActiveSheet.Range("A1").Value = txtStart.Text

End Sub


Good luck

"HappyDevil24 " wrote in
message ...
Hi all,

I have a userform with some textboxes. Does anyone know how to get what
type in the textboxes and quickly reflect in a selected cell?

Current, I can only get the value or text in the textbox and put in the
cell after user press the commandbutton. I would like user to preview it
immediate in the cell as well.

Any advise? Thanks!


---
Message posted from http://www.ExcelForum.com/




HappyDevil24[_6_]

Type in textbox display immediately in cell - need help on this
 
Binzelli wrote:
*If I understand your question correctly, you want to put the valu
of a
textbox on a form directly in a cell as it changes !?

If that's the case, use the _Change event of the textbox, for exampl
for a
textbox called "txtStart":


Private Sub txtStart_Change()

ActiveSheet.Range("A1").Value = txtStart.Text

End Sub


Good luck

"HappyDevil24 " wrot
in
message ...
Hi all,

I have a userform with some textboxes. Does anyone know how to ge

what
type in the textboxes and quickly reflect in a selected cell?

Current, I can only get the value or text in the textbox and put i

the
cell after user press the commandbutton. I would like user t

preview it
immediate in the cell as well.

Any advise? Thanks!


---
Message posted from http://www.ExcelForum.com/
*



Thanks guys. I just found this Change event last nite ;

--
Message posted from http://www.ExcelForum.com



All times are GMT +1. The time now is 01:07 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com