Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Using a variable row hieght in Excel

Absolutely perfect! Thank you very much!

"Dave Peterson" wrote:

You could use a macro:

Option Explicit
Sub testme()

Dim myAdjustment As Double
Dim myRow As Range

myAdjustment = 12

With Worksheets("Sheet1")
With .UsedRange
.Rows.AutoFit
For Each myRow In .Rows
myRow.RowHeight = myRow.RowHeight + myAdjustment
Next myRow
End With
End With

End Sub

If you're new to macros:

Debra Dalgleish has some notes how to implement macros he
http://www.contextures.com/xlvba01.html

David McRitchie has an intro to macros:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

Ron de Bruin's intro to macros:
http://www.rondebruin.nl/code.htm

(General, Regular and Standard modules all describe the same thing.)


jerrybdot wrote:

Auto Row Height puts the row lines too close to the text. I would like to
have "Auto Height + 12pts" or something like that, so the text and the lines
are not so cluttered together. Something like we can already do in paragraph
settings in Word.

Details: Each row has a different number of lines of text.

I don't want to manually adjust each row (which is what I am doing now),
since there will be more text added to the document as time goes on.

I am using Ariel 10pt and it must stay Ariel 10pt.

Thank you for any suggestions! Jerrybdot


--

Dave Peterson

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to graph x-variable versus y-variable in Excel ? Mojjara New Users to Excel 3 April 2nd 09 05:38 PM
Wrap around setting won't adjust row hieght Irvine, Dennis Excel Discussion (Misc queries) 3 January 15th 08 12:06 AM
What is the difference between column width and row hieght? Leola Schultz Setting up and Configuration of Excel 1 August 9th 06 11:31 PM
variable height variable width stacked bar charts ambthiru Charts and Charting in Excel 3 January 18th 06 11:41 PM
why is it saying sheetcnt is "variable not defined" how to do a global variable to share over multiple functions in vba for excel? Daniel Excel Worksheet Functions 1 July 9th 05 03:05 AM


All times are GMT +1. The time now is 10:34 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"