Hi,
I need to calculate the height of a Range of rows. Some rows may be texted wrapped and therefore taller than others. I will be pasting each range I create into Word and will need to know if two ranges can fit on one page or will I need insert a page break and then dump the Column headers and other data that proceeds each range that starts a new Page.
I will be using the following to generate my ranges.
[vba] ActiveCell.Offset(1,-14)
Dim rngT20 As Range
Dim rngD20 As Range
Dim rngTD20 As Range
Set rngT20 = Selection
ActiveCell.Offset(6, 14).Select
Set rngD20 = Selection
Set rngTD20 = Range(rngT20, rngD20)
[/vba]
Also,
Could someone breakdown the For...Next statement? I see them alot and not sure how to use them...also why does everyone always seem to use j or i when writing the For...Next statement?