+ Reply to Thread
Results 1 to 3 of 3

Save all UserForm data for multiple rows

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

    Save all UserForm data for multiple rows

    Hi guys,

    How can I add/amend my code, that for each new ListBox data row, ALL other UserForm data is also saved to my sheet?

    Detail:
    I have a simple UserForm with a Description/Detail section, and a Line Item section. There can be multiple Line Items, but only one Description/Detail section per UserForm.

    When one saves the UserForm, it saves/creates a line for each Line Item. As many line items as needed. BUT, here is my challenge:

    How can I have the rest of my UserForm data save for each line as well? i assume a type of loop? But how?

    I appreciate your help guys!

    See my sample workbook.
    Attached Files Attached Files
    Last edited by onmyway; 02-02-2015 at 02:22 PM.

  2. #2
    Valued Forum Contributor xlbiznes's Avatar
    Join Date
    02-22-2013
    Location
    Bahrain
    MS-Off Ver
    Excel 2007
    Posts
    1,223

    Re: Save all UserForm data for multiple rows

    you simply move the textbox code into the loop like this :
    Please Login or Register  to view this content.
    Happy Computing ,

    Xlbiznes.

    To show your appreciation please click *

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

    Re: Save all UserForm data for multiple rows

    Thank you!

+ 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. Email data from Specific Rows in Multiple worksheets from Userform Command Button
    By JJFletcher in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-09-2014, 07:07 PM
  2. [SOLVED] Search for multiple rows from multiple sheets by criteria & show result in userform
    By ANDREAAS in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-07-2014, 11:29 AM
  3. Save and Load Userform data
    By 1976dan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-23-2013, 02:24 AM
  4. UserForm selected data; to edit multiple worksheets(& specific rows)
    By anonfish in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-17-2010, 11:43 PM
  5. How to move data from userform to userform and save?
    By artromanov in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-02-2007, 03:09 AM

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