Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / January 2006

Tip: Looking for answers? Try searching our database.

Macro to convert revision text to ordinary formatted text

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jonathan Sachs - 14 Jan 2006 04:18 GMT
Does anyone have a macro they can share that does this?

To clarify what I need, the macro will convert revisions in text
written with change tracking to ordinary text with underscores and
strikeouts.

My email address is LLM041103 at earthlink dot net.
Doug Robbins - Word MVP - 14 Jan 2006 08:36 GMT
Dim aRev As Revision
With ActiveDocument
   .TrackRevisions = False
   For Each aRev In .Revisions
       If aRev.Type = wdRevisionInsert Then
           aRev.Range.Underline = wdUnderlineSingle
           aRev.Accept
       Else
           aRev.Range.Font.StrikeThrough = True
           aRev.Reject
       End If
   Next aRev
End With

Signature

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

> Does anyone have a macro they can share that does this?
>
[quoted text clipped - 3 lines]
>
> My email address is LLM041103 at earthlink dot net.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.