Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 09-22-2014, 08:08 AM
macropod's Avatar
macropod macropod is offline Exporting from excel into a specific format Windows 7 64bit Exporting from excel into a specific format Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,521
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

Excel does not have an export format that would remove the line breaks from the data. You could, however, produce such an output using a Directory mailmerge in Word. To do this:
1. Start Word and go to Mailings
2. Choose Start Mailmerge>Directory
3. Choose Select Recipients>Use existing List, then navigate to and select your workbook.
4. Choose Insert Mergefield and click on each of the items, in turn
5. Press Alt-F9 to reveal the mergefield coding, it should look like:
{ MERGEFIELD "_WGOP_samp_inpu_2" }{ MERGEFIELD "F2" }{ MERGEFIELD "F3" }{ MERGEFIELD "F4" }{ MERGEFIELD "F5" }{ MERGEFIELD "F6" }
6. Edit each of these fields by inserting \f "→", where the → is a TAB character, so they all end up as:
{ MERGEFIELD "_WGOP_samp_inpu_2" \f "→"}{ MERGEFIELD "F2" \f "→"}{ MERGEFIELD "F3" \f "→"}{ MERGEFIELD "F4" \f "→"}{ MERGEFIELD "F5" \f "→"}{ MERGEFIELD "F6" \f "→"}
7. Choose Finish & Merge>Edit Individual Documents>OK
8. The output can now be saved as a text file from Word.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Exporting from excel into a specific format Inputting a number into word in a specific format Jo 4x4 Word 7 07-19-2014 12:45 AM
Exporting from excel into a specific format Importing/Exporting data using Excel and some specific rules stagg201 Excel 1 03-27-2014 08:58 PM
Exporting from excel into a specific format Exporting workbook specific sheet columns on exit shabbaranks Excel Programming 4 08-21-2012 08:00 AM
Exporting from excel into a specific format Applying specific format to doc jrodriguez Word 3 07-23-2012 08:38 PM
Exporting from excel into a specific format Specific format for an academic paper in finance Frednd Word 1 02-25-2011 04:55 PM

Other Forums: Access Forums

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