好的谢谢 下面的要怎样写开来,
mpicture="D:\2008nl\9.JPG"
myexcel=newobject("EXCEL.application")
WITH myexcel
.visible=.t.
.workbooks.add
.Range("C3").select
cellW = .ActiveCell.Width
cellH = .ActiveCell.Height
WITH .ActiveSheet.Pictures.Insert(mpicture)
.Placement = 1
WITH .ShapeRange
.LockAspectRatio = 0
.Width=cellw
.Height=cellh
ENDWITH
ENDWITH
ENDWITH
写成
myexcel=newobject("EXCEL.application")
myexcel.visible=.t.
myexcel.workbooks.add
myexcel.Range("C3").select
cellW = myexcel.ActiveCell.Width
cellH = myexcel.ActiveCell.Height
myexcel.ActiveSheet.Pictures.Insert(mpicture)
接下去就写不对了,要怎样才能写开来
.Placement = 1
WITH .ShapeRange
.LockAspectRatio = 0
.Width=cellw
.Height=cellh
ENDWITH
ENDWITH
ENDWITH