+ Reply to Thread
Results 1 to 8 of 8

Copy Data loaded via Userform to a worksheet named in 1 field of the Userform

  1. #1
    Registered User
    Join Date
    05-20-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    56

    Copy Data loaded via Userform to a worksheet named in 1 field of the Userform

    Hi every expert, need some help.
    I have a WBook with 10 Wsheet named 1, 2, 3...10 and a UserForm with 5 different fields....Field 1=WSheet name...Field 2=Date...Field 3=Name...Field 4=Address and Field 5=Telephone...I want to copy the data (Field 2 thru Field 5) in the first empty row in Wsheet entered in Field 1.
    Thank you

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: Copy Data loaded via Userform to a worksheet named in 1 field of the Userform

    Hi

    How about an example file. Your description is a bit broad as you don't advise if your form has textboxes, listboxes, comboboxes etc. Any reply would have to be extremely broadbrush and may not give you enough to modify to suit your specific situation.

    rylo

  3. #3
    Registered User
    Join Date
    05-20-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    56

    Re: Copy Data loaded via Userform to a worksheet named in 1 field of the Userform

    Thank you Rylo for your advise...Ex
    Field 1=3...Field 2=2/11/2012...Field3=Rylo..Field 4=34 Gate Rd...Field 5=7656545
    WSheet 3.....A1=45....B1=56....C1=76...D1=88...then
    in Wsheet 3 (Because Field 1=3), will have in row 2....
    A2=2/2/2012.....B2=Rylo......C2=34 Gate Rd and in D2=7656545
    Sorry, but I haven't created a workbook yet...

    Thank you for any help

  4. #4
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: Copy Data loaded via Userform to a worksheet named in 1 field of the Userform

    Hi

    But what sort of controls are you going to use on the userform to collect the data???

    rylo

  5. #5
    Registered User
    Join Date
    05-20-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    56

    Re: Copy Data loaded via Userform to a worksheet named in 1 field of the Userform

    Thank Rylo for following my inquire.....it will be 3 control buttons....Execute...Clear...and Cancel...My data will be only text boxes

  6. #6
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: Copy Data loaded via Userform to a worksheet named in 1 field of the Userform

    Hi

    OK, so something generic, assuming that the textboxes are named textbox1, textbox2... textbox5
    Please Login or Register  to view this content.
    HTH

    rylo

  7. #7
    Registered User
    Join Date
    05-20-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    56

    Re: Copy Data loaded via Userform to a worksheet named in 1 field of the Userform

    Thank you Rylo for your answer....I'll create a workbook with my inquiries and I'll test your solution..I'll let you know the results

    Again...Thank you a lot

  8. #8
    Registered User
    Join Date
    05-20-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    56

    Re: Copy Data loaded via Userform to a worksheet named in 1 field of the Userform

    Thank you again Rylo, your solution works 100%, I rated Excellent

+ 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