I'm trying to write a macro that can look at the list of horizontal page breaks that are stored in a sheet, and it looks like HPageBreaks should be just that. I can add or remove page breaks, but I cannot isolate the collection to see its contents. Even adding hours and viewing ActiveSheet.HPageBreaks just calls a shared object with a field of 0 regardless of existing page breaks.
I am really confused about this now. Is there a way to view existing page breaks in a worksheet? The list of lines that they meet in / between will be large.
source share