Solved

Changing row height of several rows

Posted on 2013-11-18
1
183 Views
Last Modified: 2013-11-18
I'm trying to change the row height of rows 1 to 5.

Rows(1:5).rowheight = 34    This doesn't work BTW.


How about autofitting rows 1 through 5?

Rows(1:5).rowheight.autofit
0
Comment
Question by:brothertruffle880
1 Comment
 
LVL 6

Accepted Solution

by:
Michael earned 500 total points
ID: 39657215
Try:
Rows("1:5").RowHeight = 34
Rows("1:5").EntireRow.AutoFit

Open in new window


Joop
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Excel Formula 4 28
Excel:  Find text between 2nd hyphen and next space 10 29
Exit the loop 4 22
Export Query data to excel file 14 26
Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
Approximate matching with VLOOKUP and MATCH seems to me to be a greatly under-used technique, and one which is vital for getting good performance out of large lookups. Until recently I would always have advised using an exact match for simplicity an…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now