Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default how insert printed pages counter

Hi, how insert in the sheet a COUNTER of printed pages? After page (pages)
printed number increases?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default how insert printed pages counter

Not sure what you mean from your description.

Nmber of pages in one print job?

Sub Num_Pages()
Dim TotalPages As Long
TotalPages = Application.ExecuteExcel4Macro("GET.DOCUMENT(50)")

With ActiveSheet
.Range("A1").Value = TotalPages & " Pages"

ActiveSheet.PrintOut
End With

End Sub


Gord Dibben MS Excel MVP


On Sun, 14 Oct 2007 09:03:01 -0700, Kintamasis
wrote:

Hi, how insert in the sheet a COUNTER of printed pages? After page (pages)
printed number increases?


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
insert row counter Vern in Nebraska[_2_] Excel Discussion (Misc queries) 1 March 22nd 07 02:06 AM
Column names on all printed pages TimJim Excel Worksheet Functions 1 February 28th 07 02:18 AM
Watermark on all printed pages in Excel Kathrine Excel Discussion (Misc queries) 5 November 28th 06 04:47 PM
i would like that my first line to appear in all printed pages hagar Excel Discussion (Misc queries) 1 February 27th 06 12:44 PM
headers across printed pages Myrna Larson Excel Worksheet Functions 1 October 3rd 05 10:03 PM


All times are GMT +1. The time now is 02:19 AM.

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

About Us

"It's about Microsoft Excel"