Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Buzz Buzz is offline
external usenet poster
 
Posts: 17
Default Converting track changes text to normal text

I am working on a document in Word 2007 and Word 2002, and have used track
changes for edits. Is there a way to convert the track changes text to
regular text, with the additions becoming a normal font that is underlined
and the deleted text becoming a normal font with strikeout?
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default Converting track changes text to normal text

Running a macro that contains the following code should do that:

Dim arev As Revision
For Each arev In ActiveDocument.Revisions
If arev.Type = wdRevisionDelete Then
arev.Range.Font.StrikeThrough = True
ElseIf arev.Type = wdRevisionInsert Then
arev.Range.Font.Underline = True
End If
arev.Accept
Next



--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"Buzz" wrote in message
...
I am working on a document in Word 2007 and Word 2002, and have used track
changes for edits. Is there a way to convert the track changes text to
regular text, with the additions becoming a normal font that is underlined
and the deleted text becoming a normal font with strikeout?



  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Mark[_2_] Mark[_2_] is offline
external usenet poster
 
Posts: 2
Default Converting track changes text to normal text

Thanks - this was very helpful. I have never worked in Visual Basic
before, but I "winged" it and the macro worked. I had one problem, however.
The deleted text simply disappeared. Should there be a step that rejects
the deletion first, and then converts it to strikeout text? How would I
write that code?


  #4   Report Post  
Posted to microsoft.public.word.docmanagement
[email protected] mikehollis23@gmail.com is offline
external usenet poster
 
Posts: 1
Default Converting track changes text to normal text

On Friday, April 18, 2008 at 12:28:53 AM UTC+10, Mark wrote:
Thanks - this was very helpful. I have never worked in Visual Basic
before, but I "winged" it and the macro worked. I had one problem, however.
The deleted text simply disappeared. Should there be a step that rejects
the deletion first, and then converts it to strikeout text? How would I
write that code?



Just checked on a document - this will do it:

Dim arev As Revision
For Each arev In ActiveDocument.Revisions
If arev.Type = wdRevisionDelete Then
arev.Range.Font.StrikeThrough = True
arev.Reject
ElseIf arev.Type = wdRevisionInsert Then
arev.Range.Font.Underline = True
arev.Accept
End If
Next
Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
converting ASCII text to Microsoft Word text WhatAWriter Microsoft Word Help 1 January 7th 08 06:31 AM
Converting from Outline to Normal View - Formatting Text Sherry8 Page Layout 1 May 23rd 07 09:07 PM
Converting MS Word text to standard text for online application jonnyeck Microsoft Word Help 4 May 31st 06 05:41 AM
converting text from html to normal mmakis Microsoft Word Help 1 August 11th 05 06:56 PM
Track changes should show added text while HIDING deleted text. Janet at Boeing Microsoft Word Help 6 June 3rd 05 03:22 AM


All times are GMT +1. The time now is 08:17 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"