Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 300
Default Renaming Text Boxes and Buttons

Normally I can rename text boxes and buttons by changing the name in the
Name Box. But sometimes I can't. In this instance I'd like them to have the
same names as they have on another sheet. This so my clearing macro can be
the same for both sheets, just have the correct sheet selected. Sometimes I
can make the names the same. Sometimes I can't. Is there another way to
rename them?

Don <donwiss at panix.com.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,758
Default Renaming Text Boxes and Buttons

What's the situation when you can't rename them?

Is the worksheet protected?
Do you have worksheets grouped?
Are you sure you hit enter after you typed the name in the namebox?



Don Wiss wrote:

Normally I can rename text boxes and buttons by changing the name in the
Name Box. But sometimes I can't. In this instance I'd like them to have the
same names as they have on another sheet. This so my clearing macro can be
the same for both sheets, just have the correct sheet selected. Sometimes I
can make the names the same. Sometimes I can't. Is there another way to
rename them?

Don <donwiss at panix.com.


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 300
Default Renaming Text Boxes and Buttons

On Sat, 25 Dec 2004, Dave Peterson wrote:

Don Wiss wrote:

Normally I can rename text boxes and buttons by changing the name in the
Name Box. But sometimes I can't. In this instance I'd like them to have the
same names as they have on another sheet. This so my clearing macro can be
the same for both sheets, just have the correct sheet selected. Sometimes I
can make the names the same. Sometimes I can't. Is there another way to
rename them?


What's the situation when you can't rename them?

Is the worksheet protected?
Do you have worksheets grouped?
Are you sure you hit enter after you typed the name in the namebox?


No, no, and no. I can rename them, but not to the same name they have on
another sheet. This is something that I usually can do. Anyway, I wrote a
two line macro to rename them.

Don <donwiss at panix.com.
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,758
Default Renaming Text Boxes and Buttons

Did you really mean to answer no to that third question <vbg?

I'm not sure why you could rename a textbox in code, but not via the user
interface.

One more question...

If the textbox is from the control toolbox toolbar, make sure you go into Design
Mode first (an icon on that same toolbar).


Don Wiss wrote:

On Sat, 25 Dec 2004, Dave Peterson wrote:

Don Wiss wrote:

Normally I can rename text boxes and buttons by changing the name in the
Name Box. But sometimes I can't. In this instance I'd like them to have the
same names as they have on another sheet. This so my clearing macro can be
the same for both sheets, just have the correct sheet selected. Sometimes I
can make the names the same. Sometimes I can't. Is there another way to
rename them?


What's the situation when you can't rename them?

Is the worksheet protected?
Do you have worksheets grouped?
Are you sure you hit enter after you typed the name in the namebox?


No, no, and no. I can rename them, but not to the same name they have on
another sheet. This is something that I usually can do. Anyway, I wrote a
two line macro to rename them.

Don <donwiss at panix.com.


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 300
Default Renaming Text Boxes and Buttons

On Sat, 25 Dec 2004, Dave Peterson wrote:

If the textbox is from the control toolbox toolbar, make sure you go into Design
Mode first (an icon on that same toolbar).


I have never used a control toolbox text box. Generally I try to avoid the
extra complication of the controls when I can. In this case I don't know
what additional features I'd get by using one, though I suppose I would be
able to tell where it was located on the sheet.

I'm having a bit of a problem now with a combo box from the control
toolbox. I just haven't written out the problem yet to post here. I'll do
so tomorrow, but for now it is getting late here in Brooklyn.

Don <donwiss at panix.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
User Form Text Boxes - Copy format of text boxes NDBC Excel Discussion (Misc queries) 3 July 2nd 09 02:02 AM
printing a worksheet with VB buttons or text boxes Pauline Excel Discussion (Misc queries) 1 September 15th 06 01:18 AM
renaming multiple buttons GreenBean Excel Discussion (Misc queries) 2 July 21st 06 09:42 PM
buttons and boxes in userform Larry Sartoris Excel Discussion (Misc queries) 3 January 20th 06 04:39 PM
message boxes and buttons Steven Wathen Excel Programming 3 August 21st 03 10:01 PM


All times are GMT +1. The time now is 12:16 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"