
Signature
Rick Ruud
Palisades Computers LLC
North Canton & Columbus, Ohio
> Does anyone know how to change the activepage in vba as in
> ThisDocument.ActiveView.ActivePage so I can cause a different page to
> be displayed? I can't seem to find it, but I can't believe it can't
> be done.
When I'm coding in VB6, I use
Set ActiveDocument.ActiveView.ActivePage = ActiveDocument.Pages(index)
(ThisDocument is inaccessible from VB6, as VB6 does not run within a
particular document)
However, changing ActiveDocument to ThisDocument does not always allow the
code to run in Publisher for some reason.
(Just by the way, in VB.NET, the code is
[Publisher Application].ActiveDocument.ActiveView.ActivePage = _
[Publisher Application].ActiveDocument.Pages(index)
Note the absence of the "Set" keyword)

Signature
Ed Bennett - MVP Microsoft Publisher