11 replies
by bobbi.dodd Accepted solution
by boxfiddler Hot topic Accepted solution
by clicking in the top left corner of the spreadsheet. Once all cells are highlighted, on the menu bar click format - row - height and set the row height to whatever you want it to be. Save the changes and this should do the trick.
This does not apply to Office 07, the functions is still there somewhere, but I couldn't tell you where at the moment, I haven't played with it enough.
by boxfiddler Hot topic Accepted solution
by clicking in the top left corner of the spreadsheet. Once all cells are highlighted, on the menu bar click format - row - height and set the row height to whatever you want it to be. Save the changes and this should do the trick.
This does not apply to Office 07, the function is still there somewhere, but I couldn't tell you where at the moment, I haven't played with it enough.
oops... double post - sorry and edited this one for typo.
by bobbi.dodd Accepted solution
by boxfiddler Hot topic Accepted solution
all rows the same height and have them suto-adjust to content at the same time. The two options are mutually exclusive.
edit typo
by bobbi.dodd Accepted solution
by boxfiddler Hot topic Accepted solution
I misunderstood. In that case, the only thing I can think of is that this is related to the hard line breaks you enforced.
Have you tried formatting the cells to auto-fit to content?
by bobbi.dodd Accepted solution
by boxfiddler Hot topic Accepted solution
by boxfiddler Hot topic Accepted solution
by wflather Accepted solution
I had the same problem: multiple rows with differing amounts of text. I created a sort button to sort the worksheet using a macro, but lost row height. Simple solution: Select the entire worksheet (click in the upper left), hover your mouse over a row until it changes from an arrow to a horizontal line and double click. All rows now re-auto fit to contents.
I made a new macro and recorded those actions, then copied that code and pasted it to the end of my Sort macro. Problem now solved.
Code in my particular macro was this:
Sub Sort()
'
' Sort Macro
'
'Start sort at row 3 to preserve my column headers
Rows("3:3").Select
Range(Selection, ActiveCell.SpecialCells(xlLastCell)).Select
Range(Selection, Selection.End(xlDown)).Select
ActiveWorkbook.Worksheets("Sheet1").Sort.SortFields.Clear
ActiveWorkbook.Worksheets("Sheet1").Sort.SortFields.Add Key:=Range("A3:A999") _
, SortOn:=xlSortOnValues, Order:=xlAscending, DataOption:=xlSortNormal
With ActiveWorkbook.Worksheets("Sheet1").Sort
.SetRange Range("A2:D999")
.Header = xlYes
.MatchCase = False
.Orientation = xlTopToBottom
.SortMethod = xlPinYin
.Apply
End With
ActiveWindow.LargeScroll Down:=1
'Now autofit all rows to content
Cells.Select
Cells.EntireRow.AutoFit
'Return focus to near top
Range("A3").Select
End Sub
This discussion is closed to new replies.
Trending Software posts
Sort by Trending