Icon for "Wrap" and for "Centre Across Selection"

G

Guest

Hi
Can anyone tell me how to get an icon on the excel toolbar for the "Wrap
text" function and another icon for the "Centre across selection" function in
excel?

Having these functions as icons will help my users format spreadsheets
faster and it will stop them from using the "merge & centre" icon (which I'll
be taking off the standard formatting toolbar).

I can't understand why these functions weren't standard icons in the first
place??
Any help would be greatly apprecriated
Regards
BeSmart
 
R

Ron de Bruin

Hi BeSmart

Tools>Customize>Commands

You can drag the command to any toolbar if it is in the list ?
If not you must create your own macro to do it.
 
G

Gord Dibben

Neither of these are in the list AFAIK

Macros it is...........

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

Sub Wrap_Text()
With Selection
.WrapText = Not .WrapText
End With
End Sub


Gord Dibben Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top