Group:  Microsoft Word ยป microsoft.public.word.vba.beginners
Thread: Track changes prob

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

Track changes prob
Amy 28.09.2006 21:18:02
Hi, Before a macro runs, I want to make sure that people turn off their track
changes mode (and I would like them to do it manually). However, the script I
am using seems to believe that track changes mode is being used when it is
not. This happens when the user copies text from an email and pastes it into
their doc (and they do not have track changes on, nor are there any track
changes marks). Any ideas about this?

If ActiveDocument.TrackRevisions = True Then
MsgBox "Please turn off track changes mode and/or remove track changes
in the response list before running this macro.", vbOKOnly + vbExclamation,
"Turn off/remove track changes"
Exit Sub
End If

If rSlc.Paragraphs.Revisions.Count > 0 Then
MsgBox "Please turn off track changes mode and/or remove track changes
in the response list before running this macro.", vbOKOnly + vbExclamation,
"Turn off/remove track changes"
Exit Sub
End I

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net