Advertisement

There's no such thing as a stupid question, but they're the easiest to answer.
Login
Search

Advertisement

Business Applications Business Applications
Search Search
Search for:
Tech Support Guy > > >

Rows Won't Auto Resize in Excel


(!)

hydestone's Avatar
hydestone hydestone is offline
Computer Specs
Member with 44 posts.
THREAD STARTER
 
Join Date: Dec 2010
Experience: Intermediate
01-Sep-2011, 04:09 PM #1
Rows Won't Auto Resize in Excel
For some reason, the workbook I am using will not automatically adjust the row heights when I double click on the row divider. Any ideas on why this is happening or how to solve it?
Keebellah's Avatar
Keebellah   (Hans) Keebellah is offline Keebellah is a Trusted Advisor with special permissions. Keebellah has a Profile Picture
Computer Specs
Trusted Advisor with 5,246 posts.
 
Join Date: Mar 2008
Location: Oegstgeest, The Netherlands
Experience: Advanced
05-Sep-2011, 07:07 AM #2
Have you checked if there are formatting codes in the cells? Word wrap?
It could be that unprintable code like crlf and tab are in the cells
What I generally do is select the whole sheet, expand column width for one which will take all the cells then doucble click on the deviders, and the same for the rows, then you can see which are wider or higer than the shown text.

If your sheet is very wide and there are cells out of sight that take more than one line per cell the row height will not change. either.
Keebellah's Avatar
Keebellah   (Hans) Keebellah is offline Keebellah is a Trusted Advisor with special permissions. Keebellah has a Profile Picture
Computer Specs
Trusted Advisor with 5,246 posts.
 
Join Date: Mar 2008
Location: Oegstgeest, The Netherlands
Experience: Advanced
06-Sep-2011, 04:13 AM #3
An example to explain what I mean
I put together a macro demonstrating step-by-step what I mean
Attached Files
File Type: xls Column-Row-Autofit-explanantion-example.xls (32.5 KB, 220 views)
hydestone's Avatar
hydestone hydestone is offline
Computer Specs
Member with 44 posts.
THREAD STARTER
 
Join Date: Dec 2010
Experience: Intermediate
14-Sep-2011, 09:49 PM #4
I cleared all formatting from the cell and still it does not work.

Basically, there are some cells that contain multiple lines of information. I hit Alt+Enter within the row to create additional lines in the cell. The width needs to be fixed, but I want the row heights to adjust depending on how much information is in the cell. Many rows will have different heights but the columns widths should always remain the same.

Also, nice job whipping up a quick macro to show me what you mean!
Keebellah's Avatar
Keebellah   (Hans) Keebellah is offline Keebellah is a Trusted Advisor with special permissions. Keebellah has a Profile Picture
Computer Specs
Trusted Advisor with 5,246 posts.
 
Join Date: Mar 2008
Location: Oegstgeest, The Netherlands
Experience: Advanced
15-Sep-2011, 01:42 AM #5
Alt+Enter is a formatting code, if you want more data in a cell but the column width to remain the same, set the column width to your desired wiidth, make surre that word-wrap is set to true for all the cells and reset the row height.
hydestone's Avatar
hydestone hydestone is offline
Computer Specs
Member with 44 posts.
THREAD STARTER
 
Join Date: Dec 2010
Experience: Intermediate
15-Sep-2011, 07:43 AM #6
Great. What if I need there to be a line break within the cell. Do I need to do it manually with spaces? Seems like it may be easier to adjust the rows manually.
As Seen On

BBC, Reader's Digest, PC Magazine, Today Show, Money Magazine
WELCOME TO TECH SUPPORT GUY!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.


(clock)
THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


WELCOME
You Are Using: Server ID
Trusted Website Back to the Top ↑