Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Changing row height of several rows

Posted on 2013-11-18
1
185 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.

856 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