View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Gord Dibben
 
Posts: n/a
Default how to create a toolbar button to set selected cells to wrap text

steve

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


Gord Dibben Excel MVP

On Thu, 8 Dec 2005 14:19:02 -0800, steveguebert
wrote:

In Excel I frequently go to Format Cells, Alignment tab, then select check
box to wrap (or not wrap) text. How can I create a toggle button I can put
on my toolbar so I can wrap (not wrap) text for the selected cells with just
the one mouse click?