Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 21
Default How to change check box name using mouse and keyboard

I have a chart with many forms controls on it (check boxes). I need to change
the names of some of check boxes from system assigned "Check box nn" to more
meaningful, like "cbBrightness". I know I can write a macro which will do the
trick for me:

ActiveSheet.Shapes("Check Box 19").Select
Selection.Name = "cb75GlMag"

will change name of box "Check Box 19" to "cb75GlMag"

two problems:

1) After some tweaking I ended up with two check boxes with the same name
(cbDuplicatename) so my code gets confused and does not work. I need to
change the name manually, using mouse and keyboard.

2) I just need to learn how to change control properties manually. I believe
I knew it at some point but now it just hitting a black spot in my head
(where others have brain). I know it is not a right way to use macro for such
change...

Patient guidance is very much appreciated...





  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 2,489
Default How to change check box name using mouse and keyboard

Hi,

To change the name of a forms control select it and use the Name Box, next
to the formula bar.

To change properties select the control and press CTRL+1 to display the
format dialog.

Cheers
Andy

--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
"Naum" wrote in message
...
I have a chart with many forms controls on it (check boxes). I need to
change
the names of some of check boxes from system assigned "Check box nn" to
more
meaningful, like "cbBrightness". I know I can write a macro which will do
the
trick for me:

ActiveSheet.Shapes("Check Box 19").Select
Selection.Name = "cb75GlMag"

will change name of box "Check Box 19" to "cb75GlMag"

two problems:

1) After some tweaking I ended up with two check boxes with the same name
(cbDuplicatename) so my code gets confused and does not work. I need to
change the name manually, using mouse and keyboard.

2) I just need to learn how to change control properties manually. I
believe
I knew it at some point but now it just hitting a black spot in my head
(where others have brain). I know it is not a right way to use macro for
such
change...

Patient guidance is very much appreciated...






  #3   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 21
Default How to change check box name using mouse and keyboard

YES!!
Of course it is in the name Box next to the formula bar, thank you!

To change properties I was trying to right-click control and select Format
Control, but on the property tab there is only size/don't size and print -
nowhere did I found a chance to edit the name... right-click seems and Format
to bring me to the same dialog as Ctrl+1... Anyway, I am all set with that
question, thanks again!!

"Andy Pope" wrote:

Hi,

To change the name of a forms control select it and use the Name Box, next
to the formula bar.

To change properties select the control and press CTRL+1 to display the
format dialog.

Cheers
Andy

--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
"Naum" wrote in message
...
I have a chart with many forms controls on it (check boxes). I need to
change
the names of some of check boxes from system assigned "Check box nn" to
more
meaningful, like "cbBrightness". I know I can write a macro which will do
the
trick for me:

ActiveSheet.Shapes("Check Box 19").Select
Selection.Name = "cb75GlMag"

will change name of box "Check Box 19" to "cb75GlMag"

two problems:

1) After some tweaking I ended up with two check boxes with the same name
(cbDuplicatename) so my code gets confused and does not work. I need to
change the name manually, using mouse and keyboard.

2) I just need to learn how to change control properties manually. I
believe
I knew it at some point but now it just hitting a black spot in my head
(where others have brain). I know it is not a right way to use macro for
such
change...

Patient guidance is very much appreciated...






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
Most efficient method in Excel? Mouse or Keyboard keys? grins Excel Discussion (Misc queries) 15 September 9th 07 07:47 PM
How can I use the mouse or keyboard to zoom in Excel? Bill Excel Discussion (Misc queries) 6 June 19th 07 02:34 PM
Mouse pointer change john theo Excel Discussion (Misc queries) 0 September 22nd 06 03:09 PM
check marks in excel cells using your mouse loco Excel Worksheet Functions 2 April 2nd 06 10:33 PM
How can I access formula bar by using keyboard not mouse? Alai New Users to Excel 2 March 1st 06 10:35 PM


All times are GMT +1. The time now is 11:23 AM.

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"