View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 27,285
Default Is there an update to this?

Unfortunately,
the alternative is to loop through the pagebreaks and figure it out on your
own.

--
Regards,
Tom Ogilvy

"Jim May" wrote in message
news:EUh%c.43141$wu.10919@okepread04...
I've noted the following random code line:
Totalpage = Application.ExecuteExcel4Macro("GET.DOCUMENT(50)")

This looks quite "old" with it's reference to Excel4;
Is there an update or new way of performing the same feat?
TIA,