Can someone tell me how to count the visible rows in a worksheet using VBA? If you're wondering why I need this info, its to code a module to place the horizontal page break in the correct location based on the visible row count.

Thx in advance for any assistance.

AJ