I’m thinking it would be kinda nice to be able to enlist the mighty Word as a simple text editor, so I could make use of macros & other handy features when I’m editing text files. Is there a simple way to make Word save a document as a text file without adding a final CrLf?
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Word as text editor (final par mark) (2002 SP-2)
Home » Forums » AskWoody support » Productivity software by function » MS Word and word processing help » Word as text editor (final par mark) (2002 SP-2)
- This topic has 3 replies, 3 voices, and was last updated 20 years ago.
Viewing 1 reply threadAuthorReplies-
WSHansV
AskWoody Lounger -
WSAndrewO
AskWoody Lounger -
byteme
AskWoody PlusApril 10, 2005 at 5:48 pm #940149Thanks for both responses. I was focusing on text files that would be data storage vehicles whose contents would be read by code (Scripting.TextStreams and the like), and I was concerned that having a CrLf at the end would effectively mean the file contained a bogus empty “final record.” But after a little experimentation, it looks like that may not be an issue. Using either the Scripting.TextStream.ReadLine method or VB’s Line.Input method to loop through a sample file, I get the same result whether there’s a CrLf at the end of the last record or not — i.e., the added CrLf doesn’t cause either code method to detect an extra record at the end.
Word-format files always have final CrLf’s because certain formatting is stored there. WordPerfect doesn’t use paragraph marks that way, so a WordPerfect file don’t have a final CrLf unless you want to add it. Since text files don’t have any formatting to store, I’m not sure why a typical text file would end in a CrLf, but if it does, that certainly makes me more comfortable with the idea of using Word as a text editor (without having to implement some kind of SaveAsTextFileAndClose macro that strips the final CrLf after the file is out of Word’s clutches).
-
Viewing 1 reply thread -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Windows 10 Build 19045.5794 (22H2) to Release Preview Channel
by
joep517
1 minute ago -
Windows 11 Insider Preview Build 22635.5235 (23H2) released to BETA
by
joep517
30 minutes ago -
A Funny Thing Happened on the Way to the Forum
by
bbearren
11 hours, 26 minutes ago -
Download speeds only 0.3Mbps after 24H2 upgrade on WiFi and Ethernet
by
John
6 hours, 10 minutes ago -
T-Mobile 5G Wireless Internet
by
WSmmi16
2 hours, 25 minutes ago -
Clock missing above calendar in Windows 10
by
WSCape Sand
1 hour, 32 minutes ago -
Formula to Calculate Q1, Q2, Q3, or Q4 of the Year?
by
WSJon5
15 hours, 16 minutes ago -
The time has come for AI-generated art
by
Catherine Barrett
23 hours, 58 minutes ago -
Hackers are using two-factor authentication to infect you
by
B. Livingston
5 hours ago -
23 and you
by
Max Stul Oppenheimer
12 hours, 14 minutes ago -
April’s deluge of patches
by
Susan Bradley
16 hours, 25 minutes ago -
Windows 11 Windows Updater question
by
Tex265
22 hours, 12 minutes ago -
Key, Key, my kingdom for a Key!
by
RetiredGeek
1 day, 21 hours ago -
Registry Patches for Windows 10
by
Drcard:))
2 days, 1 hour ago -
Cannot get line length to NOT wrap in Outlining in Word 365
by
CWBillow
1 day, 8 hours ago -
DDU (Display Driver Uninstaller) updates
by
Alex5723
17 hours, 29 minutes ago -
Align objects on a OneNote page
by
CWBillow
2 days, 7 hours ago -
OneNote Send To button?
by
CWBillow
2 days, 7 hours ago -
WU help needed with “Some settings are managed by your organization”
by
Peobody
2 days, 16 hours ago -
No Newsletters since 27 January
by
rog7
20 hours, 56 minutes ago -
Linux Mint Debian Edition 7 gets OEM support, death of Ubuntu-based Mint ?
by
Alex5723
1 day, 16 hours ago -
Windows Update “Areca Technology Corporation – System – 6.20.0.41”
by
Bruce
1 day, 15 hours ago -
Google One Storage Questions
by
LHiggins
23 hours, 32 minutes ago -
Button Missing for Automatic Apps Updates
by
pmcjr6142
1 day, 6 hours ago -
Ancient SSD thinks it’s new
by
WSila
1 day, 21 hours ago -
Washington State lab testing provider exposed health data of 1.6 million people
by
Nibbled To Death By Ducks
3 days, 7 hours ago -
WinRE KB5057589 fake out
by
Susan Bradley
17 hours, 45 minutes ago -
The April 2025 Windows RE update might show as unsuccessful in Windows Update
by
Susan Bradley
2 days, 15 hours ago -
Firefox 137
by
Charlie
6 hours, 48 minutes ago -
Whisky, a popular Wine frontend for Mac gamers, is no more
by
Alex5723
3 days, 19 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.