+ Reply to Thread
Results 1 to 4 of 4

Update sheet data when editing ListBox items

  1. #1
    Forum Contributor onmyway's Avatar
    Join Date
    09-03-2012
    Location
    Johannesburg, South Africa
    MS-Off Ver
    2013
    Posts
    386

    Update sheet data when editing ListBox items

    Hi all,

    I need some help.

    How can I update my sheet data when I update and edit my ListBox items?

    Detail:
    I have a simple userForm (Admin) that has a ListBox that lists the items one creates.

    I have an Edit Line and Update Line button I would like to use for editing existing lines.
    1. Select ListBox line
    2. Click on Edit Line (this populates my 2 txtBoxes)
    3. Click on Update Line (this updates the line in my ListBox)


    How can I have these changes save to, and edit my original lines in my sheet?

    i have attached a sample workbook.

    Thanks all!
    Attached Files Attached Files
    Last edited by onmyway; 03-01-2015 at 02:28 PM.

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Update sheet data when editing ListBox items

    Hi onmyway

    The attached demonstrates one approach. You can hide the additional Text Box.
    Attached Files Attached Files
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  3. #3
    Forum Contributor onmyway's Avatar
    Join Date
    09-03-2012
    Location
    Johannesburg, South Africa
    MS-Off Ver
    2013
    Posts
    386

    Re: Update sheet data when editing ListBox items

    Hi John,

    i love it! A simple, yet effective solution.

    Thank you very much!

  4. #4
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Update sheet data when editing ListBox items

    You're welcome...glad I could help. Thanks for the Rep.

+ 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. update value and edit items already update on sheet by userform
    By tjxc32m in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 11-08-2013, 10:13 AM
  2. Editing listbox items in Dblclick event freezes Excel unless mouse moves over listbox
    By muneebmansoor in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-28-2013, 02:21 PM
  3. Editing cell from selected items in listbox
    By Feloni in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-01-2013, 08:01 AM
  4. Transfer random listbox items to new listbox and then loop through selected items
    By narrowgate88 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-31-2013, 05:58 PM
  5. Using a Form to update line items on Data sheet.
    By 0255AM in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-15-2010, 01:52 PM

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