+ Reply to Thread
Results 1 to 3 of 3

Saving Workbook having Macros

  1. #1
    Registered User
    Join Date
    06-18-2007
    Posts
    4

    Saving Workbook having Macros

    My workbook have some module level macros. It has also code attached to Controls on Worksheet. I tried to protect the workbook with password. Now I can not save this. Is there any way, I can save this workbook while hiding the macros and codes.

    Thanks in advance

  2. #2
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208
    Yes, there is no need to protect the workbook. Instead, you need to protect the VBA project. Enter the VBE, right-click on the project in the project explorer, and select properties. On the protection tab, select locked, and assign a password.

    HTH

    Jason

  3. #3
    Registered User
    Join Date
    06-18-2007
    Posts
    4
    Thanks jason

    I actually protected the VBA Project. I did not protect the workbook. But I don't know why I can't save the project.

    Niaz

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1