Disable Tools, Protect, Protect Workbook

P

Paul Moles

Within a macro I am using

..CommandBars("Tools").Controls("Protection").Enabled = False

However this disables the entire Tools, Protection menu item.

I only want to disable Tools, Protection, Protect Workbook,

This because the workbook is password protected by macro when it is closed
and a user, users password protecting the workbook mid session is causing
problems.

Users need access to Tools Protection Unprotect Sheet during session.

Many Thanks

Paul Moles
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top