+ Reply to Thread
Results 1 to 2 of 2

Get cursor to automatically move to a certain cell based on drop-down menu selection

  1. #1
    Registered User
    Join Date
    08-29-2018
    Location
    Chicago, Illinois
    MS-Off Ver
    2016
    Posts
    1

    Question Get cursor to automatically move to a certain cell based on drop-down menu selection

    I am a very basic excel user. I know nothing about writing codes.

    I'm trying to make life a little easier when inputting contact data each semester. In the attached form, I created a drop-down list in the "Type of Contact #" column. The options are "cell" or "home". Is there a way to make the cursor, based on the drop down item selected, automatically go to the "Cell #" or "Home #" cell in that row so I can immediately start typing the number in that row?
    Last edited by kamilahsanders; 09-06-2018 at 09:36 PM.

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    10,421

    Re: Get cursor to automatically move to a certain cell based on drop-down menu selection

    Please Login or Register  to view this content.
    How to install Worksheet Event Handlers
    Worksheet event handlers must be installed in the module of a specific sheet:
    How to install your new code
    1. Copy the Excel VBA code
    2. Select the worksheet in which you want the VBA macro to run
      a) If the Visual Basic Editor is not open, right click the sheet tab and select "View Code"
      b) If the VBE is already opened, double click the desired sheet in the project pane.
    3. Press Alt+F11 to open the Visual Basic Editor
    4. Choose Insert > Module
    5. Edit > Paste the macro into the module that appeared
    6. Close the VBEditor
    7. Save your workbook (Excel 2007+ select a macro-enabled file format, like *.xlsm)
    Ben Van Johnson

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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