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 / November 2004

Tip: Looking for answers? Try searching our database.

Acceptin Deletions

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
TRM - 01 Nov 2004 19:59 GMT
This is probably rather simple, but I haven't been able to figure it out yet.
I am interested in accepting just the deletions on a tracked document using
VBA!

THANKS!
Helmut Weber - 01 Nov 2004 20:11 GMT
Hi,
how about this one:
Dim oRvs As Revision
For Each oRvs In ActiveDocument.Revisions
  If oRvs.Type = wdRevisionDelete Then
     oRvs.Accept
  End If
Next
---
Greetings from Bavaria, Germany
Helmut Weber, MVP
"red.sys" & chr(64) & "t-online.de"
Word XP, Win 98
http://word.mvps.org/
TRM - 03 Nov 2004 04:24 GMT
That looks good to me, I'll try it - thanks for the input!  I played around a
little, don't know why I didn't try that!  I had used something like that
previously when I was working on a similar task!  DUH!

Thanks again!

> Hi,
> how about this one:
[quoted text clipped - 10 lines]
> Word XP, Win 98
> http://word.mvps.org/
 
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.