View Single Post
 
Old 04-30-2020, 04:16 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit 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

Quote:
Originally Posted by Charles Kenyon View Post
Without a macro, but with a list such as Paul is describing, you could use MailMerge.
The dropdown in that instance would not be in the document but would be the "Find Recipient" dropdown in the Mailings Tab.
Or one could use a FILLIN field in conjunction with a SKIPIF field. Such a field might be coded as:
{SKIPIF{FILLIN "Student Name" \o }<> "{MERGEFIELD First_Name} {MERGEFIELD Last_Name}"}
where 'First_Name' and Last_Name are the names of the fields holding the student names.

Note: The field brace pairs (i.e. '{ }') for the above example are all created in the document itself, via Ctrl-F9 (Cmd-F9 on a Mac); you can't simply type them or copy & paste them from this message. Nor is it practical to add them via any of the standard Word dialogues. The indicated spaces in the field construction are all required.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote