+ Reply to Thread
Results 1 to 5 of 5

Password Protect Macro?

  1. #1
    ryanmhess
    Guest

    Password Protect Macro?

    Is it possible to password protect a macro so that no one is able to go into
    your macro and modify it without a password?

    Thank you,
    Ryan Hess

  2. #2
    Chip Pearson
    Guest

    Re: Password Protect Macro?

    Yes, it is possible, but VBA passwords can be cracked using
    software readily available on the net. To protect a project, open
    the VBA Editor, go to the Tools menu, choose VBA Project
    Properties, then the Protection tab. There, check the "Lock
    Project For Viewing" option and supply a password.


    --
    Cordially,
    Chip Pearson
    Microsoft MVP - Excel
    Pearson Software Consulting, LLC
    www.cpearson.com


    "ryanmhess" <ryanmhess@discussions.microsoft.com> wrote in
    message
    news:F5EDFFE1-0D87-4A28-BC16-368F1E2F72A0@microsoft.com...
    > Is it possible to password protect a macro so that no one is
    > able to go into
    > your macro and modify it without a password?
    >
    > Thank you,
    > Ryan Hess




  3. #3
    ryanmhess
    Guest

    Re: Password Protect Macro?

    Thank you very much Chip.

    Ryan Hess

    "Chip Pearson" wrote:

    > Yes, it is possible, but VBA passwords can be cracked using
    > software readily available on the net. To protect a project, open
    > the VBA Editor, go to the Tools menu, choose VBA Project
    > Properties, then the Protection tab. There, check the "Lock
    > Project For Viewing" option and supply a password.
    >
    >
    > --
    > Cordially,
    > Chip Pearson
    > Microsoft MVP - Excel
    > Pearson Software Consulting, LLC
    > www.cpearson.com
    >
    >
    > "ryanmhess" <ryanmhess@discussions.microsoft.com> wrote in
    > message
    > news:F5EDFFE1-0D87-4A28-BC16-368F1E2F72A0@microsoft.com...
    > > Is it possible to password protect a macro so that no one is
    > > able to go into
    > > your macro and modify it without a password?
    > >
    > > Thank you,
    > > Ryan Hess

    >
    >
    >


  4. #4
    Noel Rietman
    Guest

    Re: Password Protect Macro?

    Are there any other options? I want to distribute spreadsheets with a Visual
    Basic macro but deny the user access to the macro.

    "Chip Pearson" wrote:

    > Yes, it is possible, but VBA passwords can be cracked using
    > software readily available on the net. To protect a project, open
    > the VBA Editor, go to the Tools menu, choose VBA Project
    > Properties, then the Protection tab. There, check the "Lock
    > Project For Viewing" option and supply a password.
    >
    >
    > --
    > Cordially,
    > Chip Pearson
    > Microsoft MVP - Excel
    > Pearson Software Consulting, LLC
    > www.cpearson.com
    >
    >
    > "ryanmhess" <ryanmhess@discussions.microsoft.com> wrote in
    > message
    > news:F5EDFFE1-0D87-4A28-BC16-368F1E2F72A0@microsoft.com...
    > > Is it possible to password protect a macro so that no one is
    > > able to go into
    > > your macro and modify it without a password?
    > >
    > > Thank you,
    > > Ryan Hess

    >
    >
    >


  5. #5
    Tom Ogilvy
    Guest

    Re: Password Protect Macro?

    Chip has described the method.

    The only other option is to build the majority of your code in VB6 and
    compile it to a DLL or build a standalone application.

    --
    Regards,
    Tom Ogilvy

    "Noel Rietman" <Noel Rietman@discussions.microsoft.com> wrote in message
    news:B83B944E-A0A0-40F5-A71D-6A5197756547@microsoft.com...
    > Are there any other options? I want to distribute spreadsheets with a

    Visual
    > Basic macro but deny the user access to the macro.
    >
    > "Chip Pearson" wrote:
    >
    > > Yes, it is possible, but VBA passwords can be cracked using
    > > software readily available on the net. To protect a project, open
    > > the VBA Editor, go to the Tools menu, choose VBA Project
    > > Properties, then the Protection tab. There, check the "Lock
    > > Project For Viewing" option and supply a password.
    > >
    > >
    > > --
    > > Cordially,
    > > Chip Pearson
    > > Microsoft MVP - Excel
    > > Pearson Software Consulting, LLC
    > > www.cpearson.com
    > >
    > >
    > > "ryanmhess" <ryanmhess@discussions.microsoft.com> wrote in
    > > message
    > > news:F5EDFFE1-0D87-4A28-BC16-368F1E2F72A0@microsoft.com...
    > > > Is it possible to password protect a macro so that no one is
    > > > able to go into
    > > > your macro and modify it without a password?
    > > >
    > > > Thank you,
    > > > Ryan Hess

    > >
    > >
    > >




+ 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