Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 500
  • Last Modified:

Wrap Text in Excel

I wish to have a row automatically extend once I complete typing text into a cell in an excel spread sheet (Office 2010) where the cell has been formatted as wrap text. My master spread sheet on the project I am working on used to do this but somehow this has stopped happening. Suggestions welcome.

LCR
0
LesterRadford
Asked:
LesterRadford
  • 5
  • 3
  • 2
1 Solution
 
regmigrantCommented:
Please clarify what you mean by 'row automatically expand' ?
0
 
LesterRadfordAuthor Commented:
After entering text I press the enter key. I am now finding the cell does not expand automatically. Of course if a cell expands the so does the line the text is on.
0
 
regmigrantCommented:
I've never seen that behaviour, autofit column width (in excel 2013) only works after the cell data is entered and you choose autofit from the Cells, format, autofit column or hover over the line marking the right hand side of the column and double click.

if you are entering data into the final column and nothing has ever been entered in the column to the right of it then the text will extend over subsequent columns until you enter something there - could that be what you remember seeing?

It may be that earlier versions handled it differently
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LesterRadfordAuthor Commented:
Hi, My last comment should have said;

After entering text I press the enter key. I am now finding the cell does not expand automatically. Of course if a cell expands the so does the ROW the text is on.

I am not expecting the column to expand only the row.
0
 
regmigrantCommented:
I can only suggest that the data used to be formatted as a table and its either been converted back to a range or the 'automatically add columns' option has been disabled - this can happen if the tool tip is accidentaly activated. It can be turned back on in file, options, proofing, autocorrect, auto format as you type, include new rows and columns in the table

if its been converted to a range you will need to select all of it and 'insert table'

If none if this makes sense/solves the problem can you post a copy of the sheet and highlight what you mean?
0
 
JorgenCommented:
Just to clarify a little bit more. You want a wrapped text , that is becoming longer, than  when it was originally created to automatically expand, so it will always show the full text in the cell?
0
 
LesterRadfordAuthor Commented:
Yes to Jorgen's question
0
 
JorgenCommented:
Hi again, There is a kb article on this which "suggests" (it's unacceptably sparse, in classic Microsoft fashion) that if you ever set a row height, automatic height autofitting is permanently gone for that row of that worksheet. Rows whose height you haven't touched will autofit fine though. And in Excel 2010, you cannot use the AutoFit feature for rows or columns that contain merged cells in Excel.

If you are into VBA, you can put this procedure into your worksheet.activate event, then you

Declare the variables x and lngLastRow and set lngLastRow and insert the code below, where A is the column, you want to autofit.

For x = 1 To lngLastRow + 10
    Range("A" & x).EntireRow.AutoFit
Next x

I hope that is clear, otherwise get back to me.

best regards

Jørgen
0
 
LesterRadfordAuthor Commented:
Hi Jorgen,
I understand what is happening now. Thanks for your answers. Most appreciated.
0
 
LesterRadfordAuthor Commented:
No more comments. Just good to identify what the issue is. Again, many thanks. LCR
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 5
  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now