Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15
Default Center across selection

I use "Center across selection" and almost never "Merge cells", which is
generally a bad choice (across columns anyway).

I wish to add an icon or otherwsie modify the "Merge Cells" icon through the
toolbars "customization" process. but unfortunately I cannot find "center
across selection" amonst the "commands- format"choices.

Which means I have to do my "center cross selctiion) always via the menu....

How do I add / modify an icon in my "Formatting" toolbar?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,805
Default Center across selection

One option is to record a macro and then assign it to a new button on a
toolbar...

See for detailed instrucitons...

See
http://www.ehow.com/how_2456_record-excel-macro.html
http://www.mrexcel.com/tip068.shtml

"Elardus" wrote:

I use "Center across selection" and almost never "Merge cells", which is
generally a bad choice (across columns anyway).

I wish to add an icon or otherwsie modify the "Merge Cells" icon through the
toolbars "customization" process. but unfortunately I cannot find "center
across selection" amonst the "commands- format"choices.

Which means I have to do my "center cross selctiion) always via the menu....

How do I add / modify an icon in my "Formatting" toolbar?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Center across selection

Sub TOGGLECENTERACROSS()
With Selection
If .HorizontalAlignment = xlCenterAcrossSelection Then
.HorizontalAlignment = xlGeneral
Else
Selection.HorizontalAlignment = xlCenterAcrossSelection
End If
End With
End Sub


Gord Dibben MS Excel MVP

On Tue, 4 Nov 2008 18:06:01 -0800, Elardus
wrote:

I use "Center across selection" and almost never "Merge cells", which is
generally a bad choice (across columns anyway).

I wish to add an icon or otherwsie modify the "Merge Cells" icon through the
toolbars "customization" process. but unfortunately I cannot find "center
across selection" amonst the "commands- format"choices.

Which means I have to do my "center cross selctiion) always via the menu....

How do I add / modify an icon in my "Formatting" toolbar?


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
Vertical - Center Across Selection smccarvi Excel Discussion (Misc queries) 10 May 11th 23 07:42 PM
center across selection formatting Dave Breitenbach Excel Discussion (Misc queries) 1 November 15th 05 01:54 AM
center across the selection Suraj Aryal New Users to Excel 1 October 9th 05 03:14 PM
Center Across Selection Vertically Help. I am trying to center te. msond Excel Discussion (Misc queries) 1 March 29th 05 12:37 PM
How do I UN Center a Selection KevinK Excel Discussion (Misc queries) 3 February 9th 05 01:27 AM


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