you can do so:
cellNumber = range(ActiveSheet.PageSetup.PrintArea).Cells.Count
or, for a particular sheet, you can do so:
cellNumber = range(sheets("Index1").PageSetup.PrintArea).Cells. Count
and so you will have the number of cells in the print area of the
sheets 'Index1'
--
antoka05
------------------------------------------------------------------------
antoka05's Profile:
http://www.excelforum.com/member.php...o&userid=29024
View this thread:
http://www.excelforum.com/showthread...hreadid=487865