LOCATION OF WORKSHEET'S AUTOMATIC PAGEBREAKS
i want to know the syntax for knowning the location of worksheet's automatic
pagebreaks. -- Anupam Soral |
LOCATION OF WORKSHEET'S AUTOMATIC PAGEBREAKS
|
LOCATION OF WORKSHEET'S AUTOMATIC PAGEBREAKS
Try
Sub stantive() ActiveWindow.View = xlPageBreakPreview For Each break In ActiveSheet.HPageBreaks MsgBox "A" & break.Location.Row Next break ActiveWindow.View = xlNormalView End Sub Mike "Anupam Soral" wrote: i want to know the syntax for knowning the location of worksheet's automatic pagebreaks. -- Anupam Soral |
All times are GMT +1. The time now is 09:27 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com