PDA

Click to See Complete Forum and Search --> : Placing OLEobject in Word Document


Postie
May 30th, 2001, 07:38 AM
I'm inserting a Chart in a Word document, but it places the
Chart on the first page of my document and I want it to be placed
on the third page.

This is part of the code :


Set oShape = oWordDoc.Shapes.AddOLEObject( _
Left:=100, Top:=1000, Width:=350, Height:=200, _
ClassType:="MSGraph.Chart", DisplayAsIcon:=False)
Set oGraphChart = oShape.OLEFormat.object


I've read somewhere I can use Anchors, but I don't know how
these work. Even if I change the TOP value to 10000, it
stays on the first page. How do I get my Chart to be displayed on
the third or fourth or whatever page?

Many thanks in advance.
Postie.