Avatar of antonumia
antonumia
Flag for United States of America

asked on 

Implement page x of y in word (visual basic)

I know Word doesn't deal in Pages as such but I have managed to retrieve a bunch of methods thartreleate to pages e.g. wordObj.ActiveWindow.Panes[1].Pages.count will return the number of pages in the active window.

Is there some way to determine the current 'page' in view whilst in e.g. print layout (shows pages).

Perhaps using Breaks?

(the above syntax may be wierd because I'm using a vbscript plugin in another application.)

anton
VB Script

Avatar of undefined
Last Comment
RobSampson

8/22/2022 - Mon