View Single Post
 
Old 09-13-2016, 02:49 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
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

You can use code like:
Code:
ActiveDocument.Bookmarks("Name").Range.Fields(1).Result.Text = String$(1000, "A")
to populate a formfield with a string of any length. Simply replace 'Name' with the formfield's internal bookmark name and 'String$(1000, "A")' with your actual string.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote