[RESOLVED] WORD VBA - Printing Track Changes !
Hello,
Does anyone know how i can print The Redline Track Changes in a Word Document through VBA
Can it be done using the 'Application.PrintOut' method ??
It doesn't seem to print out the Track changes if you just printout, it prints the full accepted version !!
Re: WORD VBA - Printing Track Changes !
You will have to go into the Options and check the box to show revisions or such. Then the .PrintOut method. If it prnts as you want then record a macro doing just that and see the module vba code generated to see how to programmatically turn on show changes.
Re: WORD VBA - Printing Track Changes !
Cheers RobDog,
I think i must have been a bit brain dead the day i posted this.
Didn't even cross my mind to record, and that is the way i have found out how to do so many things with VBA.
Anyway just in case anyone is interested yes you can print Track Changes through the Application.Printout method using the following code
VB Code:
Application.PrintOut FileName:="", Range:=wdPrintAllDocument, Item:= _
wdPrintDocumentWithMarkup, Copies:=1, Pages:="", PageType:= _
wdPrintAllPages, ManualDuplexPrint:=False, Collate:=True, Background:= _
True, PrintToFile:=False, PrintZoomColumn:=0, PrintZoomRow:=0, _
PrintZoomPaperWidth:=0, PrintZoomPaperHeight:=0
The main thing to note is the 'Item' argument by changing this you have various options for Track changes when you print including - wdPrintDocumentWithMarkup - which print's the Red Line version.
Cheers Rich