Dim acadApp As AcadApplication
Dim acadDoc As AcadDocument
Dim insertpoint(0 To 2) As Double
On Error Resume Next
Set acadApp = New AutoCAD.AcadApplication
acadApp.WindowState = acMax
acadApp.Visible = True
acadApp.ActiveDocuments.Open "D:\GXYZ\BLOCK\YS.dwg" '引号内是现有的图块的路径,可以自己定义,或者用APP.PATH,或者用commondialog.showopen都可以获得现有图块的路径