Supprimer un message
etik
Trouve ca sur google, peut-etre te donner une piste ???
- Sub Insert_Pic()
- ' declare an InlineShape object variable
- Dim MyShape As Shape
- ' store the pointer to the new shape
- Set MyShape = ActiveDocument.Shapes.AddPicture(FileName:="C:\MySignature.bmp", LinkToFile:=False, SaveWithDocument:=True, Anchor:=Selection.Range)
- ' set properties of the Shape object
- With MyShape
- .Width = 160
- .Height = 49
- .ZOrder msoSendBehindText
- .WrapFormat.Type = wdWrapNone
- .RelativeHorizontalPosition = wdRelativeHorizontalPositionCharacter
- .RelativeVerticalPosition = wdRelativeVerticalPositionParagraph
- .Left = 0
- .Top = InchesToPoints(0.02)
- End With
- End Sub