Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-25-2014, 08:21 AM
awsbrn awsbrn is offline Find first field on a page Windows 7 64bit Find first field on a page Office 2010 32bit
Novice
Find first field on a page
 
Join Date: Jul 2014
Posts: 1
awsbrn is on a distinguished road
Default Find first field on a page


I need to find the first instance of a field (generated via mail merge) on each page, and then put the value of the field into the footer on that page. Any suggestions?
Reply With Quote
  #2  
Old 07-25-2014, 04:53 PM
macropod's Avatar
macropod macropod is online now Find first field on a page Windows 7 32bit Find first field on a page Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,342
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

Ordinarily there are no fields in a mailmerge output document - the fields that were in the mailmerge main document will have all been converted to the text of their results when the merge was executed.

I suggest you apply a unique Style name to the mergefield whose results you want to appear in the footer, then use a STYLEREF field in the footer to reference that Style. No VBA required.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Find/Delete inline Page #'s alderfall Word 6 11-06-2012 11:51 AM
need to create a custom field on each page Gurujot Word 13 09-20-2012 05:20 PM
Find first field on a page Find, copy and paste into a new page jperez84 Word VBA 24 09-20-2012 11:34 AM
excel 2002, how to use a macro to find a field and add a date to the end of the row Biggy Excel Programming 1 05-12-2012 03:03 PM
Cannot Find a Task-timephased field OTPM Project 0 04-27-2011 05:27 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:29 AM.


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