Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-04-2021, 10:06 AM
smithurmann smithurmann is offline Open (import) ascii text files Windows 10 Open (import) ascii text files Office 2016
Novice
Open (import) ascii text files
 
Join Date: Dec 2018
Posts: 5
smithurmann is on a distinguished road
Default Open (import) ascii text files

I prefer to first write in an editor that places a CRLF after each line. A new paragraph is indicated with a CRLF pair. World handles these files by including the CRLF in the display.
So I get paragraph symbol after each line rather than a flow of text for that paragraph in the current Word display.



How do I open such file so that Word will place a space for each single CRLF and accept the double CRLF as a new paragraph control?
Reply With Quote
  #2  
Old 10-04-2021, 10:48 AM
Charles Kenyon Charles Kenyon is offline Open (import) ascii text files Windows 10 Open (import) ascii text files Office 2019
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,081
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

You do not open such a file to have what you want, this will require a serial replace after opening.
  1. First replace ^p^p with something unique like xxmxx.
  2. Next replace ^p with a single space.
  3. Then replace xxmxx or whatever you used with ^p.
Reply With Quote
  #3  
Old 10-05-2021, 11:12 AM
smithurmann smithurmann is offline Open (import) ascii text files Windows 10 Open (import) ascii text files Office 2016
Novice
Open (import) ascii text files
 
Join Date: Dec 2018
Posts: 5
smithurmann is on a distinguished road
Default ASCII file open

Thanks. Was hoping that MS Word was smart enough to be able to let users specifiy this common file form. But guess not.
Reply With Quote
  #4  
Old 10-07-2021, 11:02 AM
Charles Kenyon Charles Kenyon is offline Open (import) ascii text files Windows 10 Open (import) ascii text files Office 2019
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,081
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

See also Cleaning Up Pasted Text by Suzanne Barnhill, MVP
Reply With Quote
Reply

Tags
import from text

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Import MS files to OneNote UnkleBuck OneNote 1 05-05-2019 06:02 PM
Open (import) ascii text files Naming files in folder, DOS vs Windows Explorer ASCII sequence equalizer88 Word VBA 2 08-12-2015 03:29 PM
Import from .CUB files in MS Access vamsikrishnad Office 0 12-30-2014 03:19 AM
Import msg-files to Outlook Jeff10 Outlook 0 01-19-2013 10:56 AM
Open (import) ascii text files Import Multiple XML Files TallKewlOnez Excel Programming 1 04-09-2012 05:19 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:26 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft