Microsoft Excel Issues

Excel: Mail Merge Line Break / New Line Characters not working

If you are mail merging an Excel spreadsheet into a Microsoft Word document, and you have multiple lines of text displaying on top of one another it means Microsoft Word is not respecting the newline characters provided by Excel.

Here’s how to fix it:

  1. Open up the original spreadsheet in Excel
  2. Open up the Find & Replace window (Ctrl + F)
  3. Go to the “Replace” tab
  4. Clear whatever is in the “Find” field and type Alt + 0010
  5. Clear whatever is in the “Replace” field and type Alt + 0013
  6. Replace all

What does this do? It replaces the Newline/linefeed characters (ASCII 0010 or \n) with a carriage return character (ASCII 0013 or \r). This is an issue in the first place because different operating systems (and indeed applications themselves) treat newlines differently. Some only need 0010, other only need 0013. The safe way around this is to provide both.

You can now save your Excel spreadsheet and go back into your Microsoft Word document. When you sample the Mail Merge results, you should now see the new lines represented appropriately and looking great on paper.

Anthony Eden is a technologist. He's been developing software and websites and working in broadcast media for over 8 years now. He works full time for Hope Media, and provides contract services through Media Realm.

Follow Anthony on Twitter: @anthony_eden or Google+

But Wait... There's More!

Sign up for the email newsletter about media and technology.

Tags: Excel · Microsoft

Stay Up to Date

Every few weeks we’ll let you know about the latest in web, broadcast and media.

Worth a read…
Building a Radio Station Website-Building

Developing a Radio Station Website

Hope Media iPhone App

Recent Work: Hope Media iPhone App

Radio Automation Software

Radio Station Playout / Automation Software

Radio Studio Design and Build

Building a Radio Studio

Free Software

Free Software for Radio Stations

Popular articles…
Church Streaming

How to: Live Webcast your Church Service – Getting Started

OpenVPN Tunnel Through Proxy

OpenVPN Client through a Restrictive Firewall and Proxy

Wordpress Pros and Cons

WordPress Pros and Cons

Recently published…
Radio-Donations-Page-Design-and-Usability---header

Radio Station Website: Donation Page Design and Usability

Streaming Radio Player: Development

Radio Station Website: Radio Player Design & Development

Building a Radio Station Website-Building

Developing a Radio Station Website

Stay Up to Date

Every few weeks we’ll let you know about the latest in web, broadcast and media.