PUB2002: Left and Right Pages Do Not Contain Mirrored Designs When You Use VBA to Add Pages (295155)



The information in this article applies to:

  • Microsoft Publisher 2002

This article was previously published under Q295155

SYMPTOMS

After you use Visual Basic for Applications (VBA) to programmatically add pages to a publication that was created with a wizard, the left-facing and right-facing pages do not contain mirrored design elements.

CAUSE

There is no property in the Publisher Object Model for formatting left and right wizard pages.

WORKAROUND

After you run the code, use the task pane to switch from two-sided printing to one-sided printing and then back to two-sided printing. The design elements on the left-facing and right-facing pages are now set correctly.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

When you create a publication programmatically by using a wizard, design elements from the Design Schemes may not be aligned correctly if you insert additional pages.

The additional pages are inserted in their correct location, but there is no control for left-facing pages or right-facing pages for AddWizardPage, as there is for pbPageType. Most of the Design Schemes are mirrored, and the design elements are positioned based on a left-facing page or right-facing page. It appears that Publisher 2002 only has the right-facing page option by default via the Object Model.

If you manually create a publication using a wizard and add these pages, the wizard makes the necessary adjustments in the design elements for left-facing pages and right-facing pages.

Modification Type:MajorLast Reviewed:6/23/2005
Keywords:kbbug kbnofix KB295155