几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   SolidWorks二次开发 (http://www.dimcax.com/hust/forumdisplay.php?f=111)
-   -   【转帖】open excell (http://www.dimcax.com/hust/showthread.php?t=4845)

yang686526 2009-04-12 09:56 PM

【转帖】open excell
 
open excell..
hi
i have the code as mentioned below and in the picture was working fine in previous macro. but when i tried to copy the same and use it in differnent macro it throws the error.
compile error: invalid use of new keyword and points to the below line.
objxl as new excel.application
can any one guide me how to rectify it.
i had properly added the reference too.
edited: 02/04/2009 at 02:00 pm by sandeep pawar
click for full image


所有的时间均为北京时间。 现在的时间是 07:34 AM.