Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / November 2007

Tip: Looking for answers? Try searching our database.

How to change textbox caption in Active sheet from UserForm

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mba1976 - 08 Nov 2007 22:56 GMT
Hi there,

I have a textbox1 in Active sheet (Sheet1).
How do I change the caption of this textbox1 from userform command button 1?

Thanks,
Joel - 08 Nov 2007 23:46 GMT
You have to be in design mode and then change the property.

1) from worksheet menu - View - Toolbars - Control Toolbox
2) Press triangle to enter or exit Design Mode.  It toggles back and forth
3) Press the tesxt box then press Properties ICON in the Control toolbox
toolbar.
4) Change the caption.

> Hi there,
>
> I have a textbox1 in Active sheet (Sheet1).
> How do I change the caption of this textbox1 from userform command button 1?
>
> Thanks,
Corey - 08 Nov 2007 23:54 GMT
I think you are refering to changing the Caption or LABEL of the Textbox via Code, is this correct ?

Hi there,

I have a textbox1 in Active sheet (Sheet1).
How do I change the caption of this textbox1 from userform command button 1?

Thanks,
Corey - 08 Nov 2007 23:59 GMT
Try:
Dim res As Variant
   ActiveSheet.Shapes("Label 1").Select ' Modify Label 1 to suit what the label Number Is
   res = InputBox("What do you want to name it ?")
   Selection.Characters.Text = res
Corey....

Hi there,

I have a textbox1 in Active sheet (Sheet1).
How do I change the caption of this textbox1 from userform command button 1?

Thanks,
Dave Morrison - 10 Nov 2007 13:39 GMT
Sheets(1).TextBox1.Text = TextBox1.Text
this is the command from the userform
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.