Results 1 to 3 of 3
  1. #1
    Gold Lounger
    Join Date
    Dec 2000
    Location
    Hollywood (sorta), California, USA
    Posts
    2,759
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Page navigation (Pub 2002)

    I've asked this in the Pub forum too.

    Anyone know the VBA syntax for page navigation in Publisher.

    I've looked at every method, property and object AND the help every which way. Can it be done?

    Activedocument.Pages(1).Goto

    ...would be nice, but no dice.
    Kevin <IMG SRC=http://www.wopr.com/w3tuserpics/Kevin_sig.gif alt="Keep the change, ya filthy animal...">
    <img src=/w3timages/blackline.gif width=33% height=2><img src=/w3timages/redline.gif width=33% height=2><img src=/w3timages/blackline.gif width=33% height=2>

  2. #2
    Gold Lounger
    Join Date
    Feb 2001
    Location
    Dublin, Ireland, Republic of
    Posts
    2,697
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Re: Page navigation (Pub 2002)

    Kevin,

    I don't have Pub 2002, and 200 does not seem to have VBA, I will take a wild guess and suggest you try Activedocument.Pages(1).Activate. If not try the object browser and see if you can find some obscure properties / methods of the ActiveDocument object.

    You seem to be a Publisher VBA pioneer, so good luck.

    Andrew

  3. #3
    Gold Lounger
    Join Date
    Dec 2000
    Location
    Hollywood (sorta), California, USA
    Posts
    2,759
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Page navigation (Pub 2002)

    You are thinking the way I think, but that's not the way the Pub dev team thinks. There isn't even a

    selection.goto

    like there is in Word. I have been experimenting with a workaround that seems to work:

    Stuff the page number you want and the [Enter] key into the keyboard buffer with Sendkeys, thenexecute the Goto Page menu item (Ctrl-G). Pretty wild, huh?
    Kevin <IMG SRC=http://www.wopr.com/w3tuserpics/Kevin_sig.gif alt="Keep the change, ya filthy animal...">
    <img src=/w3timages/blackline.gif width=33% height=2><img src=/w3timages/redline.gif width=33% height=2><img src=/w3timages/blackline.gif width=33% height=2>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •