Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel Row height settings - pixels to inches

Status
Not open for further replies.

emcc

Programmer
Joined
Oct 12, 2001
Messages
124
Location
US
Is there a way to change the row height measure from pixels to inches in Excel 2000?
 
Here's a procedure that will do what you want I think...
Code:
Sub RowHeightInches()
'
' Macro1 Macro
' Macro recorded 3/17/2003 by Skip Metzger
'

'
    nbr = InputBox("Row of how many inches?")
    If Not IsNumeric(nbr) Then Exit Sub
    Selection.RowHeight = 72 * nbr
End Sub
Hope this helps :-) Skip,
Skip@TheOfficeExperts.com
 
sorry....


I forgot EntireRow...
Code:
Sub RowHeightInches()
'
' Macro1 Macro
' Macro recorded 3/17/2003 by Skip Metzger
'

'
    nbr = InputBox("Row of how many inches?")
    If Not IsNumeric(nbr) Then Exit Sub
    Selection.EntireRow.RowHeight = 72 * nbr
End Sub
Skip,
Skip@TheOfficeExperts.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top