Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. VB Code to perform an action, when user selects a particular cell in MS Excel

VB Code to perform an action, when user selects a particular cell in MS Excel

Scheduled Pinned Locked Moved Visual Basic
phpdatabasecomhelptutorial
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Razanust
    wrote on last edited by
    #1

    Hello, I wanted to develop a code in VB inside MS Excel that allows the user to select his name from a drop down menu placed in an Excel Cell. Then the code asks the user for a password against his username and further unlock selected columns for him to edit. I have created a drop down list via this help: http://spreadsheetpage.com/index.php/tip/create_a_drop_down_list_of_possible_input_values/[^] How to proceed further for asking the user for a password?

    L 1 Reply Last reply
    0
    • R Razanust

      Hello, I wanted to develop a code in VB inside MS Excel that allows the user to select his name from a drop down menu placed in an Excel Cell. Then the code asks the user for a password against his username and further unlock selected columns for him to edit. I have created a drop down list via this help: http://spreadsheetpage.com/index.php/tip/create_a_drop_down_list_of_possible_input_values/[^] How to proceed further for asking the user for a password?

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Excel has a built in system for password protecting worksheets or specific cells.

      R 1 Reply Last reply
      0
      • L Lost User

        Excel has a built in system for password protecting worksheets or specific cells.

        R Offline
        R Offline
        Razanust
        wrote on last edited by
        #3

        Yes I discovered that previously. What I want to do is to create a multiple user access inside the excel sheet.

        L 1 Reply Last reply
        0
        • R Razanust

          Yes I discovered that previously. What I want to do is to create a multiple user access inside the excel sheet.

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          Then you would need to write a VBA macro which runs automatically when the spreadsheet is opened. Try one of the Excel forums that Google will find for you.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups