Re: Change how Word formats a .txt file

Tech-Archive recommends: Fix windows errors by optimizing your registry



This is not normal behaviour. Word will wrap the text to the current
margins. If the wrap is fixed at 80 characters then there is a hard return
at 80 characters. You can establish this by pressing SHIFT+* to display the
formatting characters.There will only be a paragraph mark at the end of each
true line. If there are more paragraph marks then you should check your
mainframe output as it appears to be wrapping at 80 characters.

If you want to send me one of your documents to check, then do so to the
link on my web site.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>

geekgrrl wrote:
Terry,

Thanks for the answer. Normally Word does wrap my text for me. The
problem here seems to be how Word treats plain text (unformatted)
files. Whenever I open a plain text file Word wants to wrap it at 80
characters, no matter what my page layout is. My text file is
actually 134 characters wide as it comes from mainframe. You could
duplicatate this by creating a text file in notepad that is greater
than 80 characters wide and seeing what happens when you double-click
to open that txt file in Word. My file does have the extension .txt
and not .doc.

Thanks again,
Sheri

Terry Farrell wrote:
That seems weird and not my experience with Word. Word should wrap
your text automatically: there should be no need to mess around with
margins, orientation or fonts. Are you sure that you haven't enabled
the Wrap to Windows option?

--
Terry Farrell - MS Word MVP

"geekgrrl" <geekgrrl71@xxxxxxxxxxx> wrote in message
news:1167768596.825201.261140@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello,

I am trying to open a .txt file in Word. The .txt file was created
on a mainframe and can be up to 134 characters wide. Is there no
way that I can get this document to display properly upon opening?

If I open the document, change the font used for Plain Text style
to be Courier New 8 point instead of Courier New 10 point, and
change the page layout to Letter Landscape, my mainframe txt file
fits on the page.

I can change (and have changed) the Plain Text style to always be
Courier New 8 point, and change my Normal.dot to have all my
documents automatically open in Letter Landscape with 1" margins.
This does not work when I open a .txt file using Word. It formats
the plain text as if it was letter portrait and places it smack in
the middle of my Letter Landscape page (basically increasing the
L/R margins from 1" to
2.17")

Is there a way to change how Word opens and formats a .txt file?
Without having to run extra macros and whatnot? I have a tool that
creates TIFF files by automating the opening and printing txt files
using Word to a special virtual printer, and if I can get Word to
open the .txt file in the format/layout I need then I can use my
tool to automatically convert my (many) txt files to the TIFF files
I need.

Thanks,
Sheri


.



Relevant Pages

  • Re: Change how Word formats a .txt file
    ... When I display the formatting characters, the paragraph mark is at the ... Normally Word does wrap my text for me. ... Is there a way to change how Word opens and formats a .txt file? ...
    (microsoft.public.word.newusers)
  • Re: Change how Word formats a .txt file
    ... When I display the formatting characters, the paragraph mark is at the ... If I load the .txt file, change my Plain ... If the wrap is fixed at 80 characters then there is a hard ... Is there a way to change how Word opens and formats a .txt file? ...
    (microsoft.public.word.newusers)
  • Re: Change how Word formats a .txt file
    ... When I display the formatting characters, the paragraph mark is at the ... If I load the .txt file, change my Plain ... Is there a way to change how Word opens and formats a .txt file? ... creates TIFF files by automating the opening and printing txt files ...
    (microsoft.public.word.newusers)
  • Re: Change how Word formats a .txt file
    ... Thank you for the macro solution - with your help I was able to ... When I display the formatting characters, the paragraph mark is at the ... Is there a way to change how Word opens and formats a .txt file? ...
    (microsoft.public.word.newusers)
  • Re: Autofit and word wrap dont work?
    ... Excel will substitute different fonts when you get less than 80%. ... Text is not wrapping until well past the right cell boundary. ... As Jack points out....should wrap at 40 chars but doesn't wrap until 51 chars ... of the characters hidden if they are below the magic threshold. ...
    (microsoft.public.excel.misc)