+ Reply to Thread
Results 1 to 2 of 2

how to select highlighted item from listbox by using enter key?

  1. #1
    Registered User
    Join Date
    04-13-2020
    Location
    India
    MS-Off Ver
    2010
    Posts
    39

    how to select highlighted item from listbox by using enter key?

    i have a list box which is populated from a excel sheet

    after highlighting a particular row, either by mouse pointer left click or arrow keys, i use a command button to enter data from the highlighted row into a textbox

    is there a way to do that by pressing enter key instead of clicking the command button?

  2. #2
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: how to select highlighted item from listbox by using enter key?

    Hello prabhakaranpd,

    We might be able to help if we could see what you have used where in your Workbook, without us having to guess.

    Please attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

    Regards
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

+ 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] Listbox selected item not getting properly highlighted
    By KeithDyne in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-03-2021, 10:31 PM
  2. Select Listbox Item by ComboBox Item
    By atadaliran in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-10-2017, 04:04 PM
  3. Listbox item Highlighted but not Selected
    By shawnvw in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-17-2015, 05:29 PM
  4. [SOLVED] if anything in listbox select first item, if listbox empty do nothing (listbox in userform
    By mcdermott2 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-17-2015, 12:49 PM
  5. Listbox- 1st item is not getting highlighted
    By megha_gharote in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-21-2013, 04:06 AM
  6. how do I return a HIGHLIGHTED (not selected) item from a ListBox?
    By michaeljoeyeager in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-27-2012, 08:27 AM
  7. Keep selected ListBox item highlighted when reopening userform
    By berlini in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-22-2011, 08:38 AM

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