Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Excel 2003 word wrap and unwrap

My boss wants to be able to word wrap and unwrap using a type of "toggle"
like when you CTL + X to cut and CTL + V to paste. Is there such a way to do
this?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,819
Default Excel 2003 word wrap and unwrap

"wrapping" is done at the cell format level. In 2007 you have a button
on the Home tab to do this, in 2003 you will need to build a macro to
toggle it.

Mares wrote:

My boss wants to be able to word wrap and unwrap using a type of "toggle"
like when you CTL + X to cut and CTL + V to paste. Is there such a way to do
this?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Excel 2003 word wrap and unwrap

Thanks Bob. I've never written a macro. Can you advise me how to do this?

"Bob I" wrote:

"wrapping" is done at the cell format level. In 2007 you have a button
on the Home tab to do this, in 2003 you will need to build a macro to
toggle it.

Mares wrote:

My boss wants to be able to word wrap and unwrap using a type of "toggle"
like when you CTL + X to cut and CTL + V to paste. Is there such a way to do
this?


.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,819
Default Excel 2003 word wrap and unwrap

It's easier to record it,(look up Macro in Excel Help and click Create
Macro) and then edit if necessary. You may assign a hot key at the start.

Mares wrote:

Thanks Bob. I've never written a macro. Can you advise me how to do this?

"Bob I" wrote:


"wrapping" is done at the cell format level. In 2007 you have a button
on the Home tab to do this, in 2003 you will need to build a macro to
toggle it.

Mares wrote:


My boss wants to be able to word wrap and unwrap using a type of "toggle"
like when you CTL + X to cut and CTL + V to paste. Is there such a way to do
this?


.


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Excel 2003 word wrap and unwrap

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

If you're not familiar with VBA and macros, see David McRitchie's site for
more on "getting started".

http://www.mvps.org/dmcritchie/excel/getstarted.htm

or Ron de De Bruin's site on where to store macros.

http://www.rondebruin.nl/code.htm

In the meantime..........

First...create a backup copy of your original workbook.

To create a General Module, hit ALT + F11 to open the Visual Basic Editor.

Hit CRTL + r to open Project Explorer.

Find your workbook/project and select it.

Right-click and InsertModule. Paste the code in there. Save the
workbook and hit ALT + Q to return to your workbook.

Run or edit the macro by going to ToolMacroMacros.

You can also assign this macro to a button or a shortcut key combo.


Gord Dibben MS Excel MVP

On Wed, 3 Feb 2010 10:38:01 -0800, Mares
wrote:

Thanks Bob. I've never written a macro. Can you advise me how to do this?

"Bob I" wrote:

"wrapping" is done at the cell format level. In 2007 you have a button
on the Home tab to do this, in 2003 you will need to build a macro to
toggle it.

Mares wrote:

My boss wants to be able to word wrap and unwrap using a type of "toggle"
like when you CTL + X to cut and CTL + V to paste. Is there such a way to do
this?


.


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
excel 2003 automatic word wrap? befudd Excel Discussion (Misc queries) 3 June 25th 07 02:21 AM
Copy from Word to Excel, and retain indent, plus word wrap Eric Excel Discussion (Misc queries) 1 March 9th 07 03:15 AM
In Excel 2003 Text Disappears After Turning On Word Wrap. [email protected] Excel Discussion (Misc queries) 1 March 6th 07 01:59 AM
Excel 2003 Word Wrap Problem within cell Dan S. Excel Discussion (Misc queries) 1 October 17th 05 03:54 PM
Word document embedded in Excel 2003 won't wrap brandxdesign&construction Excel Discussion (Misc queries) 0 May 18th 05 05:53 PM


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