Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 41
Default pagenumber etc.

Has somone a function that can display a pagenumber and/or the total number
of pages te print.

Thanks Hans


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default pagenumber etc.

Hi Hans

pagenumber

is possible but very slow


the total number


Sub test()
Dim TotPages As Long
TotPages = Application.ExecuteExcel4Macro("GET.DOCUMENT(50)")

MsgBox TotPages
End Sub



--
Regards Ron de Bruin
http://www.rondebruin.nl


"hans" wrote in message ...
Has somone a function that can display a pagenumber and/or the total number of pages te print.

Thanks Hans



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
pagenumber of active cell (vba) Ralf Hörbelt Excel Programming 2 December 24th 03 01:05 PM
pagenumber hans[_2_] Excel Programming 1 November 17th 03 03:00 PM


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