Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Converting Word to text
Can anyone supply tips for converting large Word documents to plain text,
preserving or translating as much formatting as possible? I'm especially interested in bold, underline and italics. Italics, for example, can be translated in text files like _this._ But would you have to go through changing them all manually? Thanks, Joe |
#2
|
|||
|
|||
Hey Joe-
Use FileSave As and open the bottom list to choose Save As Type of your choice. Rich Text Format (RTF) will preserve formatting. HTH |:) "Joe" wrote: Can anyone supply tips for converting large Word documents to plain text, preserving or translating as much formatting as possible? I'm especially interested in bold, underline and italics. Italics, for example, can be translated in text files like _this._ But would you have to go through changing them all manually? Thanks, Joe |
#3
|
|||
|
|||
You need to use the Replace function in Word to replace the formatting.
eg In the find box enter CTRL+B (font bold) In the replace box enter CTRL+B CTRL+B (font not bold) *^&* This will put an asterisk either side of each bold bit. For italics and underline you can use a similar technique. Unfortunately you can't record formatting options in the macro recorder so you would have to add them to vba manually, if you wanted to create a macro to operate on several documents. The code for the above example is Sub ReplaceExample() Selection.HomeKey Unit:=wdStory Selection.Find.ClearFormatting Selection.Find.Replacement.ClearFormatting With Selection.Find '********************** .Text = "" .Font.Bold = True .Replacement.Text = "*^&*" .Replacement.Font.Bold = False '********************** .Forward = True .Wrap = wdFindContinue .Format = True .MatchCase = False .MatchWholeWord = False .MatchAllWordForms = False .MatchSoundsLike = False .MatchWildcards = False End With Selection.Find.Execute replace:=wdReplaceAll End Sub http://www.gmayor.com/installing_macro.htm -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Joe wrote: Can anyone supply tips for converting large Word documents to plain text, preserving or translating as much formatting as possible? I'm especially interested in bold, underline and italics. Italics, for example, can be translated in text files like _this._ But would you have to go through changing them all manually? Thanks, Joe |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
copying files from Wordperfect to Microsoft Word | New Users | |||
Continuous breaks convert to next page breaks | Microsoft Word Help | |||
How to change merge forms from Word Perfect to Microsoft Word | Microsoft Word Help | |||
Macro that will add the file path & date to Word footnotes? | Microsoft Word Help | |||
saving the workspace | Microsoft Word Help |