Hi, I am trying to add a watermark or a picture to all pages (and sections) of a word document. I generated a VBA macro in Word: ActiveDocument.Sections(1).Range.Select
ActiveWindow.ActivePane.View.SeekView = wdSeekCurrentPageHeader
Selection.HeaderFooter.Shapes.AddPicture(FileName:= _
"C:\Users\Public\Pictures\Sample Pictures\Penguins.jpg", LinkToFile:= _
False, SaveWithDocument:=True).Select
Selection.ShapeRange.Name = "WordPictureWater
For anyone else, here is the solution I came up with: #include <Word.au3>
$oWord = _Word_Create()
$sFileName = @ScriptDir & "\testDoc.docx"
$oDoc = _Word_DocOpen($oWord,$sFileName, Default,Default,True)
$iPages= $oDoc.ComputeStatistics(2) ; no. of pages
;$iPage = $oWord.Selection.Information(3) ; current page
$sImgFilePath = @ScriptDir & "\testImg.jpg"
$bLinkToFile = False
$bSaveWithDocument = Tru