Consulting

Results 1 to 11 of 11

Thread: How to protect my project

  1. #1

    Question How to protect my project

    have finished my project on the Excel vba and I want to protect it by working only on one PC. is it possible?
    http://www.mrexcel.com/forum/showthread.php?t=310332

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    You could check the computer name (Environ("Computername") and password protect the poject, but not much more than that.
    ____________________________________________
    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 Expert
    Joined
    Jul 2004
    Location
    Wilmington, DE
    Posts
    600
    Location
    And even then, the security on a VBA project password is extremely weak, and a motivated user will have ready access to cheap tools that will shred it in seconds.

    If it's that important to you, then you need to be thinking about compiling an executable using tools like Visual Studio or this: http://www.calc4web.com/
    Regards,

    Patrick

    I wept for myself because I had no PivotTable.

    Then I met a man who had no AutoFilter.

    Microsoft MVP for Excel, 2007 & 2008

  4. #4
    Administrator
    VP-Knowledge Base
    VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,489
    Location
    Hi Nader,
    Where is your cross-post link on MrExcel? I don't believe they look upon it any more kindly there. You should really give time for one site to respond before cross posting at another.
    Regards
    MD
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

  5. #5
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    So much for all of thos 'heartfelt' apologies Thursday, and the promises to be more responsible in future.
    ____________________________________________
    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

  6. #6
    Quote Originally Posted by mdmackillop
    Hi Nader,
    Where is your cross-post link on MrExcel? I don't believe they look upon it any more kindly there. You should really give time for one site to respond before cross posting at another.
    Regards
    MD
    How time I have to wait,and isn't the way that post here right.( cross-post).

  7. #7
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    You don't wait even one millisecond, when you make the second post you tell us, and then you go update the post elsehwere and tell them. That way, I for one can ignore your post, which I will do as a default position from now on.
    ____________________________________________
    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

  8. #8
    Administrator
    VP-Knowledge Base VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,489
    Location
    Nader
    If you've not read this, please do so.
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

  9. #9
    I did a croos-psot in this link:
    http://www.vbaexpress.com/forum/show...t=18411&page=2
    and I inserted the link in which I palce the croos-psot. and I didn't get a objection from you. Where .Aussiebear agree about that.

  10. #10
    Administrator
    VP-Knowledge Base VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,489
    Location
    Dir you read this paragraph?
    Find one forum and stick with it, preferably a very busy one so you reach a bigger audience. If you don't get a satisfactory answer in a reasonable amount of time (days, not hours), then:
    If your requirements are urgent, then free forums are not the place for your questions. Consider a paid consultant in this instance.
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

  11. #11
    Moderator VBAX Wizard Aussiebear's Avatar
    Joined
    Dec 2005
    Location
    Queensland
    Posts
    5,064
    Location
    Nader, Yes you are following my request to the letter, but as the fellow members are suggesting to you, cross posting as soon as you are putting a question to the forum is not being very respectful. I admit I left that bit out, because I thought you would show some respect to the members here.

    Consider this, if I came to you to learn the classical guitar and as soon as I asked you a question, I turned to the next instructor and asked him/her the same question, would you feel offended? Would you not think that I should at least listen to your responce, even try your method, before I jumped ship?
    Remember To Do the Following....
    Use [Code].... [/Code] tags when posting code to the thread.
    Mark your thread as Solved if satisfied by using the Thread Tools options.
    If posting the same issue to another forum please show the link

Posting Permissions

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