Thread
:
setting the width for a picture in a macro
View Single Post
#
2
Posted to microsoft.public.word.docmanagement
Tony Jollans
Posts: n/a
setting the width for a picture in a macro
Try this ...
Sub Macro1()
'
' Macro1 Macro
' Macro recorded 2/14/2006 by Darin E. Palacky
'
Set Pic = Selection.InlineShapes.AddPicture (FileName:= _
"F:\Documents and Settings\All Users\Documents\Darin\Signature.jpg",
_
LinkToFile:=False, SaveWithDocument:=True)
Pic.Width = 200
Pic.Height = 200
--
Enjoy,
Tony
"Darin Palacky" Darin
wrote in message
...
I have the following macro:
Sub Macro1()
'
' Macro1 Macro
' Macro recorded 2/14/2006 by Darin E. Palacky
'
Selection.InlineShapes.AddPicture FileName:= _
"F:\Documents and Settings\All
Users\Documents\Darin\Signature.jpg", _
LinkToFile:=False, SaveWithDocument:=True
How do i set the width and the height for this picture?
Reply With Quote