+ Reply to Thread
Results 1 to 1 of 1

UserName to deterine list in ComboBox, Password Protecting linked Cell

  1. #1
    Valued Forum Contributor ron2k_1's Avatar
    Join Date
    09-30-2009
    Location
    Not the USA
    MS-Off Ver
    Excel 2003, 2007
    Posts
    606

    UserName to deterine list in ComboBox, Password Protecting linked Cell

    I've been working on something like the attached for days (see rough sample attached). It's still a bit buggy, and I would really appreciate if the professional can take few mins to look over and recommend changes.

    I've found the following issues (Note that you may have to edit the code in "ThisWB" to include your username to have a list do display on the combobox):
    1. I want users to restrict themselves to use the combobox. Therefore, I've added a piece of code to password protect the ws if B1 is selected. However, when I select something after locking, it still tells me that the ws is locked even after adding code to unprotect it
    2. If you close the WB and go back into "Comparison Summ" and make a selection on the combobox, it'll will tell you that is locked, blah, blah, blah, and then if you try to print preview, my excel crashes

    Point #1 is really nagging, as you will have to select twice in order for the value to appear on B1, as the first selection it'll tell that the sheet is locked for editing. Bear in mind that the original sheet has tons of formulas referring to B1.

    Referencing to another cell, and locking the sheet is currently not an option as there is other code that refer to ranges on that sheet, and there are hundreds of INDIRECT formulas, so adding a row or column would mean to change all the code and formulas. I prefer to contemplate that later if debugging the above is not possible.

    I apologize for my faults in the above code and want to thank you in advance if you can provide help.

    Thanks

    Ron
    Attached Files Attached Files
    Ron
    Knowledge is knowing that a tomato and pepper are fruits. Wisdom is knowing whether to put these in a fruit salad

    Kindly

    [1] Use code tags. Place "[code]" before the first line of code and "[/code"]" after the last line of code. Exclude quotation marks
    [2] Mark your post [SOLVED] if it has been answered satisfactorily by editing your original post in advanced mode.
    [3] Thank (using the little scale) those that provided useful help; its nice and its very well appreciated

+ 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