+ Reply to Thread
Results 1 to 5 of 5

How Protect Source Code from User on Excel Macro

  1. #1
    Registered User
    Join Date
    11-28-2008
    Location
    Palembang
    Posts
    66

    How Protect Source Code from User on Excel Macro

    Hello, how to protect source code from user or give the password when the user view code, right click on a sheet.

    thank's
    Last edited by antoni; 08-26-2009 at 11:07 PM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: How Protect Source Code from User on Excel Macro

    Do you mean stop the user seeing the code in the VB Editor? If so

    In the VB Editor

    Tools -> VBAProject properties.

    On the protection tab you can add a password & check the Lock project from Viewing box.

    You must save 7 close the workbook before this will take effect. Do not forget the password because you will not be able to access the code without it.

    See http://www.excel-it.com/video_tutori...A_Password.swf
    Last edited by royUK; 08-26-2009 at 04:19 AM.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    11-28-2008
    Location
    Palembang
    Posts
    66

    Re: How Protect Source Code from User on Excel Macro

    Hello Mr. Roy, thank's for your helps.

  4. #4
    Valued Forum Contributor
    Join Date
    05-14-2009
    Location
    gold coast
    MS-Off Ver
    Excel 2007
    Posts
    843

    Re: How Protect Source Code from User on Excel Macro

    Hello antoni.

    Excel security is very weak and will not stop people from cracking the code (usally take but a second with the right tools)
    So just keen in mind that passwords withen excel are only there to help prevent the viewing of code. and will not keep it secure.

  5. #5
    Registered User
    Join Date
    11-28-2008
    Location
    Palembang
    Posts
    66

    Re: How Protect Source Code from User on Excel Macro

    Ok Bos.. thank's for your Advice and your Attention.
    But I believe Excel is Excellent and is the best, and no one can crack it. Hohoho

+ 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