The information in this article applies to:
SYMPTOMSIn Microsoft Excel, the Visual Basic, Applications Edition, PageBreak property may not return the correct addresses for all page breaks in a worksheet. CAUSEWhen you insert a manual page break, all automatic page break addresses are changed accordingly. A Visual Basic procedure that verifies the addresses of page breaks will return only information about the manual page break addresses and the original automatic page break addresses; new automatic page break addresses will not be returned. WORKAROUND
Using the Microsoft Excel 4.0 macro function "GET.DOCUMENT(64)" will return
the address of all page breaks in the document. The following macro shows
demonstrates how to use this Microsoft Excel 4.0 macro function in a Visual
Basic for Applications procedure. The following procedure will return an
array of all page breaks in a document.
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. REFERENCESFor more information about the PageBreak property, click the Index tab in Microsoft Excel Help, type the following text pagebreakand then double-click the selected text to go to the "PageBreak Property" topic. Additional query words: 5.00c PageBreak Automatic Page Break
Keywords : kbprg |
Last Reviewed: October 15, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |