|
-
October 25th, 1999, 05:41 AM
#1
msoffice/vb-script
I've made a macro in msword that inserts a image into the document but i don't know how to change the properties of the ole-object
this is what i did
If Selection.StoryType <> wdMainTextStory then
Selection.HeaderFooter.Shapes.AddOLEControl Anchor:=Selection.Range, _
ClassType:="Forms.Image.1"
else
ActiveDocument.Shapes.AddOLEControl Anchor:=Selection.Range, _
ClassType:="Forms.Image.1"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|