Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-21-2016, 04:17 PM
JennEx JennEx is offline Unwanted Blank Pages & {PAGE} fields not populating Windows XP Unwanted Blank Pages & {PAGE} fields not populating Office 2013
Competent Performer
Unwanted Blank Pages & {PAGE} fields not populating
 
Join Date: May 2010
Posts: 162
JennEx is on a distinguished road
Default Unwanted Blank Pages & {PAGE} fields not populating

I am having two problems with my mail merge document (attached) that I am having problems with.

  1. a) its configured to display only one record per page. Due to Excel VBA code that prepares the mail merge document, its necessary to code these section breaks in the mail merge document. See https://www.msofficeforums.com/mail-...tml#post100274 as to why.
    With this report though, although one table is printed per page, the last page is always blank. So if there is only one record associated with the merge, page one is the table, page 2 is blank (except for header and footer).

    How can I prevent this blank page from being produced?
  2. In my footer, I have two fields {PAGE} and {NUMPAGES}. These do not populate in the final document. They just show as the field codes. Where did I go wrong?
Thank you all in advance.
Attached Files
File Type: docx DT15v1.docx (414.9 KB, 7 views)
Reply With Quote
  #2  
Old 06-21-2016, 05:04 PM
JennEx JennEx is offline Unwanted Blank Pages & {PAGE} fields not populating Windows XP Unwanted Blank Pages & {PAGE} fields not populating Office 2013
Competent Performer
Unwanted Blank Pages & {PAGE} fields not populating
 
Join Date: May 2010
Posts: 162
JennEx is on a distinguished road
Default

Disregard problem #2 ... I think I have it resolved.
Reply With Quote
  #3  
Old 06-21-2016, 11:07 PM
macropod's Avatar
macropod macropod is offline Unwanted Blank Pages & {PAGE} fields not populating Windows 7 64bit Unwanted Blank Pages & {PAGE} fields not populating Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

When you execute a letter merge, Word adds a Section break after each letter. Presumably that's what's happening here. The simple solution would be to modify you code to delete the final section break & penultimate break.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unwanted Blank Pages & {PAGE} fields not populating Populating fields from a table serrix Word 3 02-24-2016 12:19 AM
Added page numbers and now printing unwanted blank pages. galvax Word 2 12-18-2013 08:41 PM
Unwanted Blank Pages & {PAGE} fields not populating Unable to retain section page numbering while removing the blank pages in MS word 201 ramsgarla Word 3 10-01-2012 03:52 AM
Unwanted Blank Pages & {PAGE} fields not populating Page Breaks, Headers, Blank Pages? jnbwolf Word 2 12-21-2011 12:33 AM
hidden blank pages mljm Word 3 06-19-2009 03:18 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:19 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft