几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】copy info from design table to seperate file (http://www.dimcax.com/hust/showthread.php?t=4669)

yang686526 2009-04-12 08:31 PM

【转帖】copy info from design table to seperate file
 
copy info from design table to seperate file
our company uses a custom excel design table to input part number, rev level, etc. we also use travelers in the shop that are excel-based. what i'm trying to do is write a macro that opens that file and automatically populates the correct fields with the design table data. and, outside of solidworks, i've been successful. but, if the user opens the design table inside solidworks instead of "in new window" i get a run-time error. being an entry level vb dabbler (i wouldn't make the stretch to call myself a programmer!) i have no idea how to work around this is issue.
click for full image
click for full image
quick


所有的时间均为北京时间。 现在的时间是 06:25 PM.