Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have 2 columns that I need to automatically increase the size of the row
that would be using a word wrap. I might have several hundred rows that does not need to be increased in size but several rows would need it because of word wrap. Can anyone suggest a macro for this. Thanks |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Simple option you could adapt....
Sheets("Sheet1").Rows("1:" & .Cells(.Rows.Count, "A").End(xlUp).Row).AutoFit -- Regards, Nigel "Stanley Braverman" wrote in message ... I have 2 columns that I need to automatically increase the size of the row that would be using a word wrap. I might have several hundred rows that does not need to be increased in size but several rows would need it because of word wrap. Can anyone suggest a macro for this. Thanks |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Getting Invalid or unqualified reference error
Sub wordwrap() Sheets("Sheet1").rows("1:" & .Cells(.rows.Count, "A").End(xlUp).Row).AutoFit End Sub "Nigel" wrote in message ... Simple option you could adapt.... Sheets("Sheet1").Rows("1:" & .Cells(.Rows.Count, "A").End(xlUp).Row).AutoFit -- Regards, Nigel "Stanley Braverman" wrote in message ... I have 2 columns that I need to automatically increase the size of the row that would be using a word wrap. I might have several hundred rows that does not need to be increased in size but several rows would need it because of word wrap. Can anyone suggest a macro for this. Thanks |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Stanley
How would you designate which rows would need word wrap? BTW..........you cannot increae row size in just two columns. Row size is a property of the entire row. Gord Dibben MS Excel MVP On Wed, 4 Mar 2009 20:04:06 -0700, "Stanley Braverman" wrote: I have 2 columns that I need to automatically increase the size of the row that would be using a word wrap. I might have several hundred rows that does not need to be increased in size but several rows would need it because of word wrap. Can anyone suggest a macro for this. Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Controlling word wrap in a cell | Excel Discussion (Misc queries) | |||
Problem w/word wrap opening up cell | Excel Discussion (Misc queries) | |||
Word Wrap and extending cell/row/column size | Excel Discussion (Misc queries) | |||
Getting word wrap to work in a merged cell | Excel Discussion (Misc queries) | |||
how do I get alt-enter to expand word wrap cell | Excel Discussion (Misc queries) |