Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Excel Page count

numPages = Application.ExecuteExcel4macro("Get.Document(50)")

Regards,
Tom Ogilvy



"Joe" wrote in message
...
Would anybody have some example code that shows count the
number of pages that are shown in the page break preview
in Excel? I am trying to get page counts from different
office files by looping thru a column in Excel that
contains file names. When I find an Excel file, I want to
count the number of pages that will be displayed in the
page break preview view.


Thanks

Joe.



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
Returning page-count to a cell NAHolmes Excel Worksheet Functions 2 November 25th 09 08:11 AM
Page Count with Tabs tom Excel Discussion (Misc queries) 3 October 27th 06 04:09 AM
How do I remove the page count on work Freddyp1 Setting up and Configuration of Excel 1 September 8th 06 11:39 PM
Page Count pkferret Excel Discussion (Misc queries) 3 April 12th 06 03:19 PM
Open Microsoft Word and get Page count. Joe[_18_] Excel Programming 0 July 15th 03 08:14 PM


All times are GMT +1. The time now is 03:55 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"