各位大虾看看
......
Set MyXL = CreateObject("Excel.application")
Set MyXL = GetObject(, "Excel.Application")
Set MyXL = GetObject(sFile)
Form1.Picture1.AutoRedraw = True
Clipboard.Clear
Clipboard.SetData Form1.Picture1
MyXL.Application.Visible = True
MyXL.Parent.Windows(1).Visible = True
With MyXL.Worksheets("Sheet1")
'系统参数
.Range("d5").Value = Str$(12345)
.Range("c10").Value = Str$(23456)
.Range("c11:f23").Picture = Clipboard.GetData()
End With
Form1.Picture1.AutoRedraw = False
MyXL.Application.Save
If ExcelWasNotRunning = True Then
MyXL.Application.Quit
End If
运行后在excel中得不到图形