Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 09-17-2019, 09:56 PM
macropod's Avatar
macropod macropod is offline Unable to insert line break or carriage return in mail merge field Windows 7 64bit Unable to insert line break or carriage return in mail merge field Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,527
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

It's not apparent to me why you'd be creating the document from scratch every time instead of using a document or template with the required fields already in place. That would require much less code and would be far easier to maintain.

As for changing a mergefield's output from:
Value1 Value2 Value3
to:
Value1
Value2
Value3
there is no mergefield coding that can produce such a result.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 

Tags
line breaking, mergefield



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to insert line break or carriage return in mail merge field Find / Replace hard Carriage Return with Line break. GreenBoy Word 2 03-11-2018 02:32 AM
Unable to insert line break or carriage return in mail merge field Remove Carriage Returns in Address Block Merge field alan100 Mail Merge 5 12-12-2017 08:32 PM
Adding a carriage return at end of each line, and then a blank space, after text entry complete CEMurphy4 Word VBA 1 12-02-2015 11:53 PM
How to automatically insert a line after a Column Break YooperNC Word 3 01-29-2015 07:16 AM
Unable to insert line break or carriage return in mail merge field Mail merge line break camlad Mail Merge 3 06-29-2011 05:01 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:00 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