Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default textbox result to label

i need to have a label containing the value the user key into the
textbox. how do i write a code for it?


thanks :)
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default textbox result to label

Try something like

Private Sub TextBox1_Change()
Me.Label1.Caption = Me.TextBox1.Text
End Sub


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"paradise" wrote in message
om...
i need to have a label containing the value the user key into the
textbox. how do i write a code for it?


thanks :)



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default textbox result to label


try this

Private Sub TextBox1_Change()

Label1.Caption = TextBox1.Text

End Su

-----------------------------------------------
~~ Message posted from http://www.ExcelTip.com
~~View and post usenet messages directly from http://www.ExcelForum.com

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Text Size in Label or Textbox in Form Tony. D[_2_] Excel Discussion (Misc queries) 2 December 18th 08 02:09 PM
Use a formula to populate a label from a textbox damorrison Excel Discussion (Misc queries) 5 September 4th 06 01:30 PM
Textbox and label formulas-continue damorrison Excel Discussion (Misc queries) 3 March 12th 06 06:32 PM
Making a TextBox look and feel like a Label in a userform Mike NG Excel Programming 0 July 30th 03 08:34 PM
Making a TextBox look and feel like a Label in a userform ijb Excel Programming 0 July 30th 03 12:26 AM


All times are GMT +1. The time now is 01:44 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"