Total of pages
Hi Rodrigo
You can try Sub test() Dim TotPages As Long TotPages = Application.ExecuteExcel4Macro("GET.DOCUMENT(50)") MsgBox TotPages End Sub -- Regards Ron de Bruin http://www.rondebruin.nl "Rodrigo Ferreira" wrote in message ... How can I get total of pages (before print) using macro? -- Rodrigo Ferreira |
Total of pages
How can I get total of pages (before print) using macro?
-- Rodrigo Ferreira |
All times are GMT +1. The time now is 11:39 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com