+ Reply to Thread
Results 1 to 3 of 3

ediing a listbox (in an userform) entry populated by dynamic table

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

    ediing a listbox (in an userform) entry populated by dynamic table

    i have a listbox populated from a named dynamic range called

    Please Login or Register  to view this content.
    data can be added to that table using following code
    Please Login or Register  to view this content.





    now i want to edit the data using textbox and edit button
    when the listbox item is selected, i want textbox 3 and 4 to show corresponding data and after editing the data in textbox 3 or 4 ,
    edit command button should edit the selected data from the dynamic range
    and new data should be shown in the list box



    and also is there a better way to know if day has changed instead of putting data on excel sheet as i have done



    i have attached sample file also
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,834

    Re: ediing a listbox (in an userform) entry populated by dynamic table

    1) Formula for dynamic named range should be
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    otherwise you always have a blank row at the bottom of the list box.

    2)
    Please Login or Register  to view this content.

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

    Re: ediing a listbox (in an userform) entry populated by dynamic table

    thanks for your reply

    that solved the question

    and also thanks for help with named range

    added reputation

+ 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] TextBox Filter-Down Search of UserForm ListBox Populated with Worksheets
    By RoroBear in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-18-2021, 01:24 AM
  2. Delete an entry (row) in a userform listbox and update table on worksheet
    By colin7 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 08-08-2019, 07:18 AM
  3. [SOLVED] Dynamic Named Range instead of Table for data transfer to userform listbox
    By rakotonirinas in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-22-2019, 05:39 PM
  4. [SOLVED] UserForm ListBox Populated by Summed Data in Two Columns
    By phelbin in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 10-05-2017, 02:54 PM
  5. Complex userform with user-populated listbox
    By olivierpbeland in forum Excel Programming / VBA / Macros
    Replies: 72
    Last Post: 01-23-2013, 04:18 PM
  6. Listbox to Listbox, no duplicates & submitting same UserForm data for each Listbox entry.
    By jamieswift1977 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-18-2012, 12:18 PM
  7. Error in populated listbox userform
    By herukuncahyono in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-30-2010, 09:54 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