+ Reply to Thread
Results 1 to 3 of 3

Select, Edit, Add & Delete items in a list box

  1. #1
    Registered User
    Join Date
    08-04-2010
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    34

    Select, Edit, Add & Delete items in a list box

    Hi All!

    I have a listbox with three columns, I then have 2 text box and 1 combo box underneath.
    and then three commands, Edit, Add and Delete.
    I've worked out the code to make the textbox and combobox fill when i click on the name in the list box but I cannot get them to edit.

    I also want to type an entry into the text boxes to add to the list

    and delete a name in the list....

    this is my code so far!!

    Please Login or Register  to view this content.

    thanks!!!!!!

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Select, Edit, Add & Delete items in a list box

    You need to really edit the cells, then update the ListBox

    See the Databaseform example
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: Select, Edit, Add & Delete items in a list box

    Did you consider using the built-in dataform ? (menu Bar/ Data/ dataform..)
    in VBA:
    Please Login or Register  to view this content.



+ 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