+ Reply to Thread
Results 1 to 19 of 19

user name and password

  1. #1
    Registered User
    Join Date
    02-09-2014
    Location
    uae
    MS-Off Ver
    Excel 2003
    Posts
    20

    user name and password

    hey every one

    i have one page with 6 different links, each link will open one worksheet , i want to set password to each link to open there worksheet ,

    so any one can help please i can update my file if it's required .

    Thanks for the help

    Regards

  2. #2
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: user name and password

    yes update you file.
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    WANT TO SAY THANKS, HIT ADD REPUTATION (*) AT THE BOTTOM LEFT CORNER OF THE POST

    More we learn about excel, more it shows us, how less we know about it.

    for chemistry
    https://www.youtube.com/c/chemistrybyshivaansh

  3. #3
    Registered User
    Join Date
    02-09-2014
    Location
    uae
    MS-Off Ver
    Excel 2003
    Posts
    20

    Re: user name and password

    hey thanks here im update the file

    Thank you
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: user name and password

    what are the sheets, you want to open with password when user select purchase.

  5. #5
    Registered User
    Join Date
    02-09-2014
    Location
    uae
    MS-Off Ver
    Excel 2003
    Posts
    20

    Re: user name and password

    hey Hemesh thanks for help ; when i click on purchase i should get window to input username and password so it will linked me to purchase Dep sheet ;
    the same for ENGINEERING , production, account , estimation ,

    Thanks for the help .

  6. #6
    Forum Contributor
    Join Date
    08-02-2012
    Location
    Pune
    MS-Off Ver
    Office 365 (Win 10)
    Posts
    489

    Re: user name and password

    The question sounds good. I also would like to know how can we do this.


    Sorry for spamming
    Please make the Post as solved, when you get your answer & Click * if you like my suggestion

  7. #7
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: user name and password

    I mean to ask what are all the sheets related with purchase are they purchase SUB DUB PURCHASE FARD AND PURCHASE BAWABT ALONG WITH purc-1

  8. #8
    Registered User
    Join Date
    02-09-2014
    Location
    uae
    MS-Off Ver
    Excel 2003
    Posts
    20

    Re: user name and password

    for Purchase yes .

  9. #9
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: user name and password

    hello riderz ! hide all sheets except main sheet then Do below
    1-Click Alt+F11 together this will open VBE
    2- Click insert---> module
    3. Copy paste below
    4. Red color text you need to change for other tabs. i.e. for engineer or other tabs rest remains same.
    Please Login or Register  to view this content.
    then remove links from purchase and Right click you will find a tab ASSIGN MACRO click and select PURCHASE from the Window

    then for other Tabs copy paste the same code
    then change Sub Purchase to sub engineer or sub production accordingly and then
    change password = "write here your password" and change the sheets

    I have done for PUrchase sheets Take a look. Is this what you are looking for ?
    Attached Files Attached Files
    Last edited by hemesh; 04-28-2014 at 07:20 AM.

  10. #10
    Registered User
    Join Date
    02-09-2014
    Location
    uae
    MS-Off Ver
    Excel 2003
    Posts
    20

    Re: user name and password

    hey hemesh thanks alot for ur quick replay , but i want when i click purchase after i insert the password i want to be linked to ( purc-1 ) sheet.

  11. #11
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: user name and password

    I Have updated the code. Please try again

  12. #12
    Registered User
    Join Date
    02-09-2014
    Location
    uae
    MS-Off Ver
    Excel 2003
    Posts
    20

    Re: user name and password

    the idea is purchase Dep can access to ( purc-1) only which it need passoword after they access to ( purc-1) there is links in this sheets which not need password .
    the same will be for others links in main page (Main ) so each department can access there sheets.

    Thanks again

  13. #13
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: user name and password

    go to VBE, select respective sheets like Purc-1 and make it veryhidden.
    then use below code
    Please Login or Register  to view this content.

  14. #14
    Registered User
    Join Date
    02-09-2014
    Location
    uae
    MS-Off Ver
    Excel 2003
    Posts
    20

    Re: user name and password

    sorry but how to make Purc-1 and make it veryhidden.

  15. #15
    Registered User
    Join Date
    02-09-2014
    Location
    uae
    MS-Off Ver
    Excel 2003
    Posts
    20

    Re: user name and password

    after i enter the password it should linked me to purc-1 which is did , but the linked in purc-1 not working .

    thanks again for ur help

  16. #16
    Registered User
    Join Date
    02-18-2014
    Location
    France
    MS-Off Ver
    Excel 2010
    Posts
    30

    Re: user name and password

    Please Login or Register  to view this content.
    Care to caps! Purc-1 <> purc-1!

  17. #17
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: user name and password

    check the link below to make excel sheet very hidden
    http://www.officetooltips.com/excel/...ry_hidden.html

    I am not getting your second point.

    @poloop there is no effect of caps or small because one sheet name cannot be assigned to any other sheet name, I think they are name sensitive not case.
    Last edited by hemesh; 04-28-2014 at 02:32 PM.

  18. #18
    Registered User
    Join Date
    02-09-2014
    Location
    uae
    MS-Off Ver
    Excel 2003
    Posts
    20

    Re: user name and password

    ok how if i make one file name :Main purchase and one more file the purchases file , in the Main purchase file there is link to purchase file, now i want the password to be set when i click on the link in the Main purchase file it should linked me to the purchases file , and if any one try to open purchase file not from the link it should again ask for password so please can you help in this

    thanks again

  19. #19
    Registered User
    Join Date
    02-09-2014
    Location
    uae
    MS-Off Ver
    Excel 2003
    Posts
    20

    Re: user name and password

    it's worksssss thankkssssss

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Username and Password VBA with the ability for user to change the password
    By egemencoskun in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-24-2014, 05:02 AM
  2. Set a user & password for each sheets
    By pedjvak in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-28-2013, 08:56 AM
  3. Replies: 6
    Last Post: 02-09-2013, 03:06 AM
  4. Match new password to specific user and update list via custom user form
    By Sargekd in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-03-2011, 09:40 AM
  5. User Password On A Button - Encrypt Password
    By mab in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-05-2010, 08:10 AM

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