I an inserting pictures int o a word doc through atomation with this code
oPic=.SELECTION.InlineShapes.AddPicture(laPhotoName[m.I2] ,.F., .T.)
oPic.scaleHeight=MIN(oPic.scaleHeight,100)
oPic.scaleWidth=MIN(oPic.scaleWidth,100)
but unfortunately the picture don't get restricted to 100 pixels
some of them take up a whole page instead just a small Pict at the top of the page
what am I doing wrong??
Thanks
Peter
Peter Cortiel