几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】vba crashing whenever you change a sub90 or function90 (http://www.dimcax.com/hust/showthread.php?t=4967)

yang686526 2009-04-12 10:48 PM

【转帖】vba crashing whenever you change a sub90 or function90
 
vba crashing whenever you change a sub() or function()
in a specific module i change anything reguarding a sub() or function() or in the declarations area its crashed the program! weather it be excel or sw's!
anyone know what is going on?????
you would have to show the code and an example of what you change to crash the program, and describe what you mean by crashing it
you select anywhere in the first few lines of the code, click enter, or delete some stuff and excel locks.... gives an error to send to microsoft and then closes, i means it not like i am running anything, just trying to edit it.....
luke, ill email you the macro file.....
copy all your code into a new module. cut and paste. i had this same issue in access vba. i think i even cut and paste into the same module. some wierd vba module corruption thing.
yeah, i ended up copy and pasting to a word doc, then opening a whole new vba control and pasting it into that.. otherwise it would crash...
quick


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