Consulting

Results 1 to 6 of 6

Thread: Solved: locking VBA project

  1. #1
    VBAX Tutor
    Joined
    Mar 2009
    Posts
    227
    Location

    Solved: locking VBA project

    HI,

    Im trying to lock the vba project page so that no one can see the macros.
    I went to 'Properties' and selected the Lock option entered my own password , but it doesnt work

    I can still see the macros in the VBA prohject page

    im sure this is quite basic

    please advise

    thanks

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Put the line

    Option Private Module

    at the start of your code modules.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  3. #3
    VBAX Tutor
    Joined
    Mar 2009
    Posts
    227
    Location
    I tried that , it doesnt work though

  4. #4
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    \whast's the password.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  5. #5
    VBAX Tutor
    Joined
    Mar 2009
    Posts
    227
    Location
    its 'jobs'

    bizarre, it seems to be working

  6. #6
    VBAX Tutor
    Joined
    Mar 2009
    Posts
    227
    Location
    thanks xld!

Posting Permissions

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