Returns the number of pages into which the grid would be divided based upon the grid’s total number of columns and the maxColsPerPage property. Use hPageCount with the vPageCount property to loop through the pages in the grid.
For information on pages, see Pages on Grids. |
The following example uses the hPageCount and vPageCount properties to loop through the pages in the grid. Any code placed in the nested For...Next loop would be executed for each page in the grid.