+ Reply to Thread
Results 1 to 3 of 3

Lock VBE or Lock Macro

Hybrid View

  1. #1
    Registered User
    Join Date
    07-10-2012
    Location
    Pune, India
    MS-Off Ver
    Excel 2010
    Posts
    28

    Lock VBE or Lock Macro

    Hi Frds,

    I have problem in locking the VBE. I had a VBA code and is running perfectly Okay. I tried to lock it before sending it to client. I tried to Lock from tools>VBA ProjectProperties> Protection , there i ticked on check box and given the password.

    I saved and reopened the sheet. The Problem has come here. The movement i reopened , VBA is not function to which i coded and when i when in VBE window , the entire code got erased ..!!

    Please help me, how to lock the code from users to view.

    Million Thanks ,
    Sri

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Lock VBE or Lock Macro

    Hi,

    Did you save this across a network? I've known problems where macros have become detached in these circumstances, presumably because of glitches caused by network traffic.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    07-10-2012
    Location
    Pune, India
    MS-Off Ver
    Excel 2010
    Posts
    28

    Re: Lock VBE or Lock Macro

    Hi Richard,

    I am saving on local desktop only.

    The problem got resolved !! , I was saving the protected file in xlsx format . when i did saved the file with xltm extension, it is working fine.

    Thanks,
    Sri

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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