+ Reply to Thread
Results 1 to 4 of 4

User Form List Boxes and Adding and Deleting Data

  1. #1
    Registered User
    Join Date
    03-28-2010
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    60

    User Form List Boxes and Adding and Deleting Data

    Hello,

    I appreciate any help that can be provided.

    I have a userform called uf_Modify and a listbox in it called lb_Delete. The data in the listbox is being populated from a particular range called "CompanyList" in one of my worksheets. I am trying to set it up so the user can delete unwanted companies that are listed in lb_Delete and then update those changes on the worksheet within the range "CompanyList". I also want to give the user an option to add more companies via the User Form that will update the range "CompanyList" and also reflect the updates in a second userform that will be called that will have a listbox that shows all the changes that have been made to the range "CompanyList". I would really appreciate any help that can be provided.

    Regards,

    William
    Attached Files Attached Files
    Last edited by learning_vba; 05-04-2010 at 10:28 PM. Reason: I have determined another way to do it using worksheets rather than user forms.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: User Form List Boxes and Adding and Deleting Data

    Hello William,

    You should post your workbook. It is unlikely anyone will take the time to reproduce for themselves what you have already done. It will be easier to make corrections to the existing formats and code than create it from scratch. Also, it makes question and answers much easier since the workbook can be referenced by everyone involved.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Registered User
    Join Date
    03-28-2010
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    60

    Re: User Form List Boxes and Adding and Deleting Data

    Leith- thanks for the tip. I attached my workbook.

  4. #4
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: User Form List Boxes and Adding and Deleting Data

    Hello learning_vba,

    Thanks for posting the workbook. My guess about the layout was way off! That's why the workbook really helps.

    Note: This workbook sets up a web query to finance.yahoo.com
    Last edited by Leith Ross; 05-04-2010 at 06:31 PM. Reason: Added note

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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