+ Reply to Thread
Results 1 to 6 of 6

Password!!!

Hybrid View

  1. #1
    Registered User
    Join Date
    06-08-2007
    Posts
    15

    Password!!!

    Can any one tell me a way to add a password to the Macro... Waiting for the reply...

  2. #2
    Forum Expert Simon Lloyd's Avatar
    Join Date
    03-02-2004
    Location
    locked in the cage
    MS-Off Ver
    All the ones my homepage shows
    Posts
    3,161
    elklavyatts you need to give more information!, do you want a password on the project or do you want to add a password to a cell or sheet or to the workbook?
    Not all forums are the same - seek and you shall find

  3. #3
    Registered User
    Join Date
    06-08-2007
    Posts
    15

    Exclamation

    Quote Originally Posted by Simon Lloyd
    elklavyatts you need to give more information!, do you want a password on the project or do you want to add a password to a cell or sheet or to the workbook?
    Thanks Simon for your reply
    In my form i have number of options and some options are restricted for a particular level of officer. So i have entered a form which will ask for password and if the password matches with the string that I have saved in the macro it will let the user to access the option. I have done everything but one thing is worrying me that if someone can access the macro then he/she would be able to access the password. So I was asking that is there any way to create an encrypted sort of password. If there is any way i can do it it will be of great help.

  4. #4
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile

    Good morning eklavyavats

    You can protect the workings of a macro. To do this go to the VBE (Alt + F11) and go to Tools > VBAProject Properties, Protection. Tick the box and put in the password.

    If you've already done this, then there's not much else more that can be done. If someone could break this then they could see the passwords you've used. That said, if they're good enough at Excel to do this, then they could get around any other safeguards you've installed to stop people doing things they shouldn't.

    Excel is not a secure environment. It will stop casual users doing things they shouldn't, but certainly not a determined, ecperienced user.

    HTH

    DominicB
    Please familiarise yourself with the rules before posting. You can find them here.

  5. #5
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    For a better security method see this
    Hope that helps.

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

    Free DataBaseForm example

  6. #6
    Registered User
    Join Date
    06-08-2007
    Posts
    15

    Thumbs up

    Quote Originally Posted by dominicb
    Good morning eklavyavats

    You can protect the workings of a macro. To do this go to the VBE (Alt + F11) and go to Tools > VBAProject Properties, Protection. Tick the box and put in the password.

    If you've already done this, then there's not much else more that can be done. If someone could break this then they could see the passwords you've used. That said, if they're good enough at Excel to do this, then they could get around any other safeguards you've installed to stop people doing things they shouldn't.

    Excel is not a secure environment. It will stop casual users doing things they shouldn't, but certainly not a determined, ecperienced user.

    HTH

    DominicB
    Thnx buddy for your help!!! Dat will surely increase a lot of security.... n it is well said that we lock our homes not b'cos of thiefs they can come even after breakin d locks we lock it to protect it...

+ 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