Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default how to know the number of lines on the sheet?

How can I tell how many lines will be printed for a sheet in a workbook


Sorry, I'm a real newbie to Excel and VBA. A consultant created thi
and he is now gone and my boss wants some changes.

The only way I can think to make the changes means that I need to kno
how many lines will be printed

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default how to know the number of lines on the sheet?

Go to tools=Options and in the View Tab under Windows Options, make sure
pagebreaks is checked.

You can then see where the pagebreaks are and count the rows. In code, you
would use the hpagebreaks collection to find the same information.

--
Regards,
Tom Ogilvy


dizzy wrote in message
...
How can I tell how many lines will be printed for a sheet in a workbook?


Sorry, I'm a real newbie to Excel and VBA. A consultant created this
and he is now gone and my boss wants some changes.

The only way I can think to make the changes means that I need to know
how many lines will be printed.


---
Message posted from http://www.ExcelForum.com/



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy lines from sheet 2 to sheet 6 pcor New Users to Excel 6 May 13th 09 04:38 PM
Populate sheet with lines from another sheet Texhun Excel Discussion (Misc queries) 0 April 14th 09 09:06 PM
Populate sheet with lines from other sheet Texhun Excel Discussion (Misc queries) 0 April 2nd 09 09:56 PM
Is it possible to have more than 65,336 lines in one sheet? Lauren Excel Discussion (Misc queries) 5 January 5th 07 05:28 PM
How do I set up a way to add up the number of lines used when cal. Nixco Excel Discussion (Misc queries) 1 February 4th 05 01:38 AM


All times are GMT +1. The time now is 04:15 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"