How to obfuscate VBA code?

Discussion in 'Word VBA' started by BOB, Jan 15, 2014.

  1. BOB

    BOB Guest

    I am looking for a tool to obfuscate
    VBA (Word) code.
    Applications should run but their
    code should be difficult to read.

    Any suggestions would be very
    much appreciated.

    Regards
    BOB
     
    BOB, Jan 15, 2014
    #1
    1. Advertisements

  2. BOB

    Stefan Blom Guest

    You can password-protect the module in your template, if that helps.

    --
    Stefan Blom
    Microsoft Word MVP




    "BOB" <> wrote in message
    news:52d64206$0$2154$...
    > I am looking for a tool to obfuscate
    > VBA (Word) code.
    > Applications should run but their
    > code should be difficult to read.
    >
    > Any suggestions would be very
    > much appreciated.
    >
    > Regards
    > BOB
     
    Stefan Blom, Jan 17, 2014
    #2
    1. Advertisements

  3. BOB

    BOB Guest

    > You can password-protect the module in your template, if that helps.
    Unfortunately it does not help. It s too weak.

    Regards
    BOB
     
    BOB, Jan 21, 2014
    #3
  4. BOB

    Auric__ Guest

    BOB wrote:

    >> You can password-protect the module in your template, if that helps.

    > Unfortunately it does not help. It s too weak.


    Obfuscating is even weaker than password-protecting. For better results,
    you'd need to compile your code into a DLL, but even that could be
    disassembled and studied.

    --
    We hates the coffees. Stupid, fat, wicked coffees.
    We wants the Dr. Peppers, we do. We wants it! My... *PRECIOUS*...
     
    Auric__, Jan 21, 2014
    #4
  5. BOB

    BOB Guest

    >>> You can password-protect the module in your template, if that helps.

    >> Unfortunately it does not help. It s too weak.


    > Obfuscating is even weaker than password-protecting. For better results,
    > you'd need to compile your code into a DLL, but even that could be
    > disassembled and studied.


    I am not sure which one is weaker. It probably depends on the password
    or how much "sophisticated" is the the obfuscating. :)
    I realise that there is not fully certain method but I think that compiling
    into a DLL could be enough. The problem is that I know nothing about
    compiling into a DLL. Do you have any address with detailed descriptiom
    on how to do it? I would be very grateful if you could give me such address.

    Regards
    BOB
     
    BOB, Jan 22, 2014
    #5
    1. Advertisements

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Similar Threads
  1. Hans Troost

    =rand(x,y) usable in VBA-code ? How ??

    Hans Troost, Jul 31, 2003, in forum: Word VBA
    Replies:
    7
    Views:
    737
    Jonathan West
    Aug 5, 2003
  2. Anne
    Replies:
    1
    Views:
    98
    Raymond Bissonnette
    Aug 15, 2003
  3. Ken Wan
    Replies:
    4
    Views:
    624
    martinique
    Aug 25, 2003
  4. dedawson
    Replies:
    7
    Views:
    494
    Erik Larson
    Jun 13, 2011
  5. Sammy
    Replies:
    3
    Views:
    175
    Sammy
    Aug 17, 2007
  6. cmledbetter

    print code variant of Doug Robbin code

    cmledbetter, Mar 13, 2008, in forum: Word VBA
    Replies:
    2
    Views:
    163
    cmledbetter
    Mar 13, 2008
  7. Derek Hart

    Insert VBA Code With VBA Code

    Derek Hart, Aug 17, 2008, in forum: Word VBA
    Replies:
    3
    Views:
    226
    Greg Maxey
    Aug 19, 2008
  8. Lina
    Replies:
    6
    Views:
    205
    Graham Mayor
    May 6, 2010
Loading...