Walkthrough: Calling Code from VBA in a Visual Basic Project RRS feed

  • Question

  • I have just followed very diligently the walk through.

    I set up my sample document containing skeletal VBA code, accounting for the trust settings.

    Created the project OK.

    Ensured that the location of the document was trusted - OK.

    Added the sample method to ThisDocument.vb and built the project - OK

    Exposed the method to VBA - as per instructions and tried to rebuild - failure!

    Error    1    Cannot update WIN32 resources in assembly "obj\Release\CallingCodeFromVBA.dll". The system cannot find the file specified    CallingCodeFromVBA

    I am at a loss to know why this has happened. This should have been simple.

    Any ideas, please. Thank you.

    Tuesday, April 1, 2014 11:31 PM

All replies