Pages
Home
Excel VBA
Excel Online Course
Excel Powerquery
Contact Us
Oct 7, 2009
Location of PageBreak
List the location of pagebreak in the current sheet
Debug.Print ActiveSheet.HPageBreaks.Count
For i = 1 To ActiveSheet.HPageBreaks.Count
Set p = ActiveSheet.HPageBreaks.Item(i)
Debug.Print p.Location.Address
Next i
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment