Code resource lock error (Error 455)
This error can only occur on the Macintosh. When you access a code resource, you must lock it. This error has the following cause and solution:
A call was made to a procedure in a code resource. The code resource was found, but an error occurred when an attempt was made to lock the resource.
Check for an error returned by Hlock, for example, "
Illegal on empty handle
" or "Illegal on free block
".
For additional information, select the item in question and press F1 (in Windows) or HELP (on the Macintosh).
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.