![]() |
|
#1
|
||||
|
||||
![]()
Return it where? If you mean add it to the end of the document, then add a boolean variable declaration DIM bRevision as Boolean and replace the message box with
Code:
bRevision = ActiveDocument.TrackRevisions ActiveDocument.TrackRevisions = False ActiveDocument.Range.InsertAfter vbCr & sTemp ActiveDocument.TrackRevisions = bRevision
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Andoheb | Word | 29 | 07-03-2014 01:48 PM |
![]() |
awolf | Word VBA | 7 | 03-16-2014 02:40 PM |
Append text to a sentence containing specific word | dgp | Word VBA | 3 | 02-28-2014 10:38 PM |
Modified Signature Line in Microsoft Word | gurp99 | Word | 0 | 03-28-2012 09:58 AM |
I want to lock a sentence in Word | smorkette | Word | 1 | 02-06-2010 12:57 AM |