Why can't I run a CAMWorks macro?

I try to run a macro but it gives me an error & the debug highlights  Set cwApp = New CAMWORKSLib.cwApp as the problem. How do I fix it?

Was this article helpful?
0 out of 0 found this helpful


1 comment
  • In the Microsoft Visual Basic for Applications window click the stop button on the top toolbar. Go to Tools, References & ensure that the following options are checked:

    Visual basic For Applications

    Solidworks 2014 Extensibility Type Library

    OLE Automation

    SolidWorks 2014 Type Library

    SolidWorks 2014 Constant type library

    CAMWorks 2014 Type Library



Please sign in to leave a comment.