Error: Action code is required

Solution: Open the worksheet in the "Trust" section and make sure to put a code an action code.