Consulting

Results 1 to 3 of 3

Thread: Failed tp activate range with listbox item select

  1. #1
    VBAX Contributor
    Joined
    Sep 2007
    Posts
    119
    Location

    Failed tp activate range with listbox item select

    Hi there,
    What I want to accomplish on the click listbox1 event is when item in listbox selected the respective record will shown on textbox for further amendment.

    However the problem i facing is the pointer does not select at the respective range for upte resulting the amendment was wrongly updated to other record instead. Error highlight at
    "Range(strRangeAddress).Activate"

    Attached the workbook

  2. #2
    VBAX Guru Kenneth Hobs's Avatar
    Joined
    Nov 2005
    Location
    Tecumseh, OK
    Posts
    4,956
    Location
    When I put Jack in, it said there were 2 but showed nothing in the listbox. Were the 2 records found supposed to be in the listbox?

  3. #3
    VBAX Contributor
    Joined
    Sep 2007
    Posts
    119
    Location
    The listbox will display the find result if more than 1 record was found. Msg will prompt there are more than 1 record found. User to click FIND ALL button to display the result in the listbox. Thereafter select the item in the listbox for amendment or display in the textbox.


    The problem is when the list item is selected the item does not display at the textbox for amendment into worksheet record.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •