In this publication titled lock worksheet in excel vba, I have provided a complete image from start to finish ,Please look below