#1   Report Post  
Posted to microsoft.public.excel.misc
Ryan
 
Posts: n/a
Default Rename Text Box

Is it possible to rename a text box? I'd like to change the name of the box
from the default Text Box # to something more meaningful

-Ryan

  #2   Report Post  
Posted to microsoft.public.excel.misc
Tom Ogilvy
 
Posts: n/a
Default Rename Text Box

Make sure the formula bar is visible.

on the right side of the formula bar is the Name box.

select the text box and you should see the text box name in the name box.

Highlight it in the name box and type in your new name. Finish by hitting
the enter key.

Unselect and then reselect the text box. The name displayed should be the
new name. If not, repeat the above.

In code it is

Sub RenameBox()
Activesheet.Textboxes("Text Box 1").Name = "MyTextBox"
End Sub
--
Regards,
Tom Ogilvy

"Ryan" wrote:

Is it possible to rename a text box? I'd like to change the name of the box
from the default Text Box # to something more meaningful

-Ryan

  #3   Report Post  
Posted to microsoft.public.excel.misc
Ryan
 
Posts: n/a
Default Rename Text Box

Thanks Tom,

The problem was that I was in design mode and apparently you can't rename
Text boxes created using the autoshape toolbar while in design mode. Once I
exited design mode I was able to rename the text box. Now if you create a
text box from the control toolbar you must be in design mode to rename it.
Kind of confusing but now I think I got everything figured out.

-Ryan


"Tom Ogilvy" wrote:

Make sure the formula bar is visible.

on the right side of the formula bar is the Name box.

select the text box and you should see the text box name in the name box.

Highlight it in the name box and type in your new name. Finish by hitting
the enter key.

Unselect and then reselect the text box. The name displayed should be the
new name. If not, repeat the above.

In code it is

Sub RenameBox()
Activesheet.Textboxes("Text Box 1").Name = "MyTextBox"
End Sub
--
Regards,
Tom Ogilvy

"Ryan" wrote:

Is it possible to rename a text box? I'd like to change the name of the box
from the default Text Box # to something more meaningful

-Ryan

  #4   Report Post  
Posted to microsoft.public.excel.misc
Ryan
 
Posts: n/a
Default Rename Text Box

Scratch the previous response. The problem was that I was not clicking on the
frame of the text box. I was just clicking the the text inside the box which
did not let me rename the text box. When I just click the frame I AM able to
rename the box. Design mode had nothing to do with it.

-Ryan

"Ryan" wrote:

Thanks Tom,

The problem was that I was in design mode and apparently you can't rename
Text boxes created using the autoshape toolbar while in design mode. Once I
exited design mode I was able to rename the text box. Now if you create a
text box from the control toolbar you must be in design mode to rename it.
Kind of confusing but now I think I got everything figured out.

-Ryan


"Tom Ogilvy" wrote:

Make sure the formula bar is visible.

on the right side of the formula bar is the Name box.

select the text box and you should see the text box name in the name box.

Highlight it in the name box and type in your new name. Finish by hitting
the enter key.

Unselect and then reselect the text box. The name displayed should be the
new name. If not, repeat the above.

In code it is

Sub RenameBox()
Activesheet.Textboxes("Text Box 1").Name = "MyTextBox"
End Sub
--
Regards,
Tom Ogilvy

"Ryan" wrote:

Is it possible to rename a text box? I'd like to change the name of the box
from the default Text Box # to something more meaningful

-Ryan

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
extra help with transpose Raymond75 Excel Discussion (Misc queries) 0 January 12th 06 03:40 PM
Shade cell according to text? Ltat42a Excel Discussion (Misc queries) 0 January 3rd 06 06:37 PM
Using Concatenate function to generate text in Text Box Mary S. Charts and Charting in Excel 1 December 14th 05 08:55 PM
SUMPRODUCT vs Text??? Ken Excel Worksheet Functions 2 April 9th 05 07:21 PM
Read Text File into Excel Using VBA Willie T Excel Discussion (Misc queries) 13 January 8th 05 12:37 AM


All times are GMT +1. The time now is 02:23 PM.

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

About Us

"It's about Microsoft Excel"