Prevent Saving Certain Worksheets On Save As

  • In my program I have prevented the user from saving the Workbook with the following code



    I also need to prevent the user, when they use the save as, from saving certain worksheets.


    Ex: There are 6 worksheets in the workbook. I only want them to be able to save the first three.


    Issues: One of the workbooks that I want to allow them to change has a tab name that changes frequently.


    Thanks

  • Re: Prevent Saving Certain Worksheets On Save As


    Something like this???



    Instead of going on with the normal SaveAs procedure, it copies only the listed tabs into a new WB and saves it to the location the user selects...


    The process should be pretty transparent to the user....

  • Re: Prevent Saving Certain Worksheets On Save As


    As shown, the only way is to move the Worksheets to another Workbook. You cannot save by Sheet in Workbook.


    It sounds like you need 2 files where one is read only.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!