Hi all,
I am creating a template in which users can pick an image which needs to be displayed/placed in the upperright corner of the page. (if possible in the header)
My problem is that the upperright corner with VBA is limited by the pagemargins, not by the paper.
Is there a way to do place it in the correct positition?
Dim link
link = Extern & "afbeeldingen\Rapportage\" & ComboBox3.Value
ActiveDocument.Bookmarks("afbeelding").Select
ActiveDocument.Shapes.AddPicture FileName:=link, LinkToFile:=False, SaveWithDocument:=True, Left:=0, Top:=0
With ActiveDocument.Shapes(1)
.RelativeHorizontalPosition = wdRelativeHorizontalPositionPage
.RelativeVerticalPosition = wdRelativeVerticalPositionPage
.Left = InchesToPoints(0)
.Top = InchesToPoints(0)
End With
Thanks in advance!
Mathijs.