Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Copying object(SPSS) into word

Status
Not open for further replies.

netcashin

Programmer
Nov 13, 2000
159
US
I am working with an application called SPSS that creates charts that I am trying to insert into a word document. SPSS supports VBA and I can create a SPSS object, but I am not able to insert into Word.

Any ideas would be helpful, even if it doesn't pertain to SPSS specifically.

Thanks
 
Try:

<Document reference>.Shapes.AddOLEObject _
ClassType:=<Class of spss>, _
FileName:= <File Name>, _
Top := <Top co-ordinate>, _
Left := <Left co-ordinate>, _
Width := <Width of object>, _
Height := <Height of object

M :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top