Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Bob Bob is offline
external usenet poster
 
Posts: 972
Default Word wrap - Toolbar short cut??

Perhaps I just can't find it in the Customize Commands list, but is there a
short command button for wordwrapping, and if not, why not? There are short
cuts for every other kind of formatting except this.
--
Bob
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 50
Default Word wrap - Toolbar short cut??

Hi Bob ! :)
Here's the method ! Type in a cell that's not formatted
'word wrap'. Record a macro (You'll find instuctions in Excel's Help) and
word wrap the cell manually. Stop recording. Now you have a macro for word
wrapping. Customize your tool bar (Excel 97-2003) / quick access toolbar
(Excel 2007) and put a button in it that triggers the macro when clicked on.

I hope the info. is useful to you ! Good Luck !

Vijay

"Bob" wrote:

Perhaps I just can't find it in the Customize Commands list, but is there a
short command button for wordwrapping, and if not, why not? There are short
cuts for every other kind of formatting except this.
--
Bob

  #3   Report Post  
Posted to microsoft.public.excel.misc
Bob Bob is offline
external usenet poster
 
Posts: 972
Default Word wrap - Toolbar short cut??

Thank you Vijay, that gives me a fix. But it is curious to me why Microsoft
never created a short cut command for it....maybe it was over-looked?

Thanks again.
--
Bob


"Vijay Chary" wrote:

Hi Bob ! :)
Here's the method ! Type in a cell that's not formatted
'word wrap'. Record a macro (You'll find instuctions in Excel's Help) and
word wrap the cell manually. Stop recording. Now you have a macro for word
wrapping. Customize your tool bar (Excel 97-2003) / quick access toolbar
(Excel 2007) and put a button in it that triggers the macro when clicked on.

I hope the info. is useful to you ! Good Luck !

Vijay

"Bob" wrote:

Perhaps I just can't find it in the Customize Commands list, but is there a
short cut command button for word wrapping, and if not, why not? There are
short cuts for every other kind of formatting except this.
--
Bob

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,344
Default Word wrap - Toolbar short cut??

Hi,

Actually Microsoft has addressed this issue - Excel 2004 (Mac) has this
toolbar button & Excel 2007 (PC) also has it.

In 2003 use the following code

Sub WordWrap()
Selection.WrapText = True
End Sub

I would assign the shortcut key Ctrl+Shift+W or maybe Ctrl+e

Not Ctrl+W because it is already taken, it means Close. Also, I would
record the macro into the Personal Macro Workbook so it would be available in
all of your files. The recording will be longer than the above code, but you
can change it to mine once you've recorded it.

If this helps, please click the Yes button.
--
Thanks,
Shane Devenshire


"Bob" wrote:

Thank you Vijay, that gives me a fix. But it is curious to me why Microsoft
never created a short cut command for it....maybe it was over-looked?

Thanks again.
--
Bob


"Vijay Chary" wrote:

Hi Bob ! :)
Here's the method ! Type in a cell that's not formatted
'word wrap'. Record a macro (You'll find instuctions in Excel's Help) and
word wrap the cell manually. Stop recording. Now you have a macro for word
wrapping. Customize your tool bar (Excel 97-2003) / quick access toolbar
(Excel 2007) and put a button in it that triggers the macro when clicked on.

I hope the info. is useful to you ! Good Luck !

Vijay

"Bob" wrote:

Perhaps I just can't find it in the Customize Commands list, but is there a
short cut command button for word wrapping, and if not, why not? There are
short cuts for every other kind of formatting except this.
--
Bob

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Word wrap - Toolbar short cut??


Slight revision to make it a toggle function.

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


Gord Dibben MS Excel MVP

On Sat, 25 Oct 2008 11:22:00 -0700, ShaneDevenshire
wrote:

Hi,

Actually Microsoft has addressed this issue - Excel 2004 (Mac) has this
toolbar button & Excel 2007 (PC) also has it.

In 2003 use the following code

Sub WordWrap()
Selection.WrapText = True
End Sub

I would assign the shortcut key Ctrl+Shift+W or maybe Ctrl+e

Not Ctrl+W because it is already taken, it means Close. Also, I would
record the macro into the Personal Macro Workbook so it would be available in
all of your files. The recording will be longer than the above code, but you
can change it to mine once you've recorded it.

If this helps, please click the Yes button.




  #6   Report Post  
Posted to microsoft.public.excel.misc
Bob Bob is offline
external usenet poster
 
Posts: 972
Default Word wrap - Toolbar short cut??

Thanks everybody for all your assistance.
--
Bob


"Gord Dibben" wrote:


Slight revision to make it a toggle function.

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


Gord Dibben MS Excel MVP

On Sat, 25 Oct 2008 11:22:00 -0700, ShaneDevenshire
wrote:

Hi,

Actually Microsoft has addressed this issue - Excel 2004 (Mac) has this
toolbar button & Excel 2007 (PC) also has it.

In 2003 use the following code

Sub WordWrap()
Selection.WrapText = True
End Sub

I would assign the shortcut key Ctrl+Shift+W or maybe Ctrl+e

Not Ctrl+W because it is already taken, it means Close. Also, I would
record the macro into the Personal Macro Workbook so it would be available in
all of your files. The recording will be longer than the above code, but you
can change it to mine once you've recorded it.

If this helps, please click the Yes button.



  #7   Report Post  
Posted to microsoft.public.excel.misc
ed ed is offline
external usenet poster
 
Posts: 82
Default Word wrap - Toolbar short cut??

On Oct 25, 9:52*am, Bob wrote:
Perhaps I just can't find it in the Customize Commands list, but is there a
short command button for wordwrapping, and if not, why not? * There are short
cuts for every other kind of formatting except this. *
--
Bob


Alt / Enter

ed
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
Text Wrap Toolbar Icon Chip Singer Excel Discussion (Misc queries) 1 August 20th 08 08:53 PM
How to assign a short cut key for user defined word? Siva Excel Discussion (Misc queries) 4 August 27th 07 01:20 PM
Copy from Word to Excel, and retain indent, plus word wrap Eric Excel Discussion (Misc queries) 1 March 9th 07 03:15 AM
short definition on inserting drop caps in word lewis_shannon Excel Discussion (Misc queries) 1 March 8th 07 08:30 AM
I would love to be able to put a wrap text button on my toolbar. Sumgirl12 Excel Worksheet Functions 4 November 15th 05 10:02 PM


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

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"