Solved

Fixing a row height

Posted on 2014-01-16
6
242 Views
Last Modified: 2014-01-16
Folks,
In a worksheet when activated I would like to set two row heights. For example, Row 3 and Row 4 would both be 105. This is a single event so I won't need a module.
0
Comment
Question by:Frank Freese
  • 4
6 Comments
 
LVL 3

Expert Comment

by:fredvr666
ID: 39786664
In the activate event

Range("a1").height
0
 

Author Comment

by:Frank Freese
ID: 39786744
got an error: Object required.
Here my code:
Range("A3").Height = 105
0
 

Author Comment

by:Frank Freese
ID: 39786827
Solved ?
Here's the code
ActiveSheet.Row("3:4").Select
Selection.RowHeight=105

Any one see a problem here?
0
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.

 
LVL 7

Accepted Solution

by:
Steve earned 500 total points
ID: 39786979
Dropped an "S" on rows.

ActiveSheet.Rows("3:4").Select
Selection.RowHeight=105
0
 

Author Comment

by:Frank Freese
ID: 39787006
noticed that later
good catch though
thanks and enjoy the 500 points
0
 

Author Closing Comment

by:Frank Freese
ID: 39787008
thanks you very much
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

Dealing with unintended Excel Active-X resizing quirks (VBA code simulates "self correction") David Miller (dlmille) Intro Not everyone is a fan of Active-X controls in spreadsheets (as opposed to the UserForm approach, the older Form controls …
Drop Down List with Unique/Distinct Values (Part II - ComboBox or ListBox and Data Validation List Bonus!) David Miller (dlmille) Intro This article focuses on delivering unique, sorted lists to list objects (e.g., ComboBox, ListBox) and Dat…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

862 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

21 Experts available now in Live!

Get 1:1 Help Now