LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 36
Default Customizing a toolbar icon

Is it possible to have the Center icon perform a double job like for example
the Sort Ascending icon (Shift+Sort Ascending and sort is performed in
descending order) so that if I pres Shift+Center the following code should
run:

Sub SelectionCenterAcross()
On Error Resume Next
Selection.HorizontalAlignment = xlCenterAcrossSelection
End Sub

Regards
Hans Knudsen

 
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
Customizing toolbar in Excel2007? mikelee101 Excel Discussion (Misc queries) 1 May 19th 09 07:59 PM
Customizing Toolbar Buttons Leo Minervini Excel Discussion (Misc queries) 0 April 6th 05 02:17 AM
Customizing the toolbar Icon BigOil Excel Programming 3 November 27th 04 09:10 AM
Customizing the toolbar Icon Rob van Gelder[_4_] Excel Programming 0 November 26th 04 11:13 PM
Customizing Toolbar terri Excel Programming 1 February 11th 04 04:33 PM


All times are GMT +1. The time now is 09:19 PM.

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"