![]() Y in Shapes(Y) identifies the target text box. X In mp.Item(X) identifies your master page (in case you have more than one). Here's a working macro for anyone with the same problems Private WithEvents PubApp As Publisher.Application So, I accomplished the first half of my goal, but I need some help with the rest. The macro automatically starts when the document is opened and creates a popup with the total page number every time the user changes page. Private Sub PubApp_WindowPageChange(ByVal Vw As View) ![]() What I have right now: Private WithEvents PubApp As Publisher.Application The textbox should show "page X of Y", but due to publisher limitations only the "X" is automatically updated without using a macro. I want to create a macro that automatically starts when the document is opened and as frequently as possible updates a textbox in the master page. I decided to look into macros for a solution, but with my limited knowledge of VBA I only managed to get so fat before hitting a roadblock. Applying or changing a master page of a page spread will affect both pages of this spread.Recently I have been struggling with publisher at work, and the most recent source of concern is the software inability to give something a simple as an auto-updating "total pages" count. If your document is organized as page spreads in contrast to separate pages, its master pages will also be organized as page spreads. To move, lock or delete these guide lines, open the corresponding master page. ![]() Guide lines added to a master appear on all content pages based on this master. A content page automatically displays the page margins of the applied master. You can set up page margins individually for any master page in the Document tab of the Inspector. If a page doesn't need to have a master, choose No Master in the list of master pages. The name of the applied master is indicated in the Pages panel near the top left corner of the page thumbnail. Choose Apply Master Page in the context menu and specify the master page you wish to apply. To apply a master, select one or multiple content pages in the Pages panel. If you delete master B, all the following masters are renamed: C to B, D to C, and so on. New master pages are automatically named using letters "B", "C", and so on. To delete a master page, select it in the Pages panel and click the "–" button.Ī document must have at least one master page, thus removing a single master page is impossible. In the Pages panel, click the "+" button to add a new master page. Then click the button to open the Pages panel. Adding and Removing Master PagesĬlick on Content Pages below the toolbar and select Master Pages. You can edit master pages the same way as content pages. The tools on this panel switch to working with master pages. Once you have activated the master pages mode, the Pages panel shows thumbnails of masters. The color of the main window background changes to blue to indicate that you have switched from content pages to master pages. Then click the button to open the Pages panel, and select the necessary master page.Īlso, you can switch between content and master pages using the View > Content Pages and View > Master Pages menu commands. To preview or edit master pages, click on Content Pages below the toolbar and select Master Pages. To use the same master pages in several documents, create a template document containing these master pages and then create your new document using this template. When you add a new content page, no master page is applied to it by default. You can add as many master pages as you need. ![]() To distinguish master pages and ordinary pages in this documentation, the latter are called "content pages".Ī new document contains one master page that isn't applied to any content page. Likewise, if you later want to change something on this universal background, the changes are applied to all of the pages that have that master applied. The master page then acts as a background and you just need to add elements specific to each page. For example, with their help, you can create a background once and apply it to all of the pages of your project. Master pages help you create uniform pages in an efficient way. Working with Multipage Documents Master Pages
0 Comments
Leave a Reply. |