Follow

Why can't I run a CAMWorks macro?

Daniel Lyon

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
Have more questions? Submit a request

Comments

  • Avatar
    Daniel Lyon

    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