+ Reply to Thread
Results 1 to 5 of 5

Transfer data from userform to a sheet

  1. #1
    Forum Contributor
    Join Date
    08-08-2012
    Location
    englang
    MS-Off Ver
    Excel 2010
    Posts
    152

    Transfer data from userform to a sheet

    Hi guys.

    I have a userform where I can enter the data, what I would like to achieve is when the button is pressed the vba transfers data from userform to a sheet.

    My main problem is that there are three fields "part number" "description" and "qty" in userform which have to be filled in by the ops and each of these fields contain 6 textboxes(in future I would like to add more textboxes). Other fields that need to be filled in are "time", "unique operator", "vendor" and others, each of them have only one textbox per field.

    Would it be possible, lets say if "part number" "description" and "qty" are filled in, transfer them to a sheet together with the other fields and copy fields like "time", "unique operator", "vendor" as many times as the main records were copied.

    Hopefully that make sense, I have also attached the sheet for a reference.

    I would really appreciate any help.

    Thanks in advance
    Attached Files Attached Files
    Last edited by intex; 06-01-2016 at 02:29 PM.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Transfer data from userform to a sheet

    Hi,

    I'm confused.

    Originally I thought this was a data collection task using a form to enter a new order number and the other 3 pieces of information Operator, Job Type & Vendor, plus 1-6 sets of information re Part Number Description & Quantity.

    However the Search button populates all these fields when an existing order number is entered which rather suggests it's not about capturing new data, rather identifying and perhaps editing existing data records.

    Please clarify.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Contributor
    Join Date
    08-08-2012
    Location
    englang
    MS-Off Ver
    Excel 2010
    Posts
    152

    Re: Transfer data from userform to a sheet

    Hi Richard,

    Thanks for the quick reply.

    This userform will be used to process the returned goods. So when the goods arrive I need to make sure that all what has arrived being entered into database, this is why I need transfer to database button.

    At other stages of the process operators will have to open again the database and add extra or edit the information that was initially entered.



    Thanks

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Transfer data from userform to a sheet

    Hi,

    One way

    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    08-08-2012
    Location
    englang
    MS-Off Ver
    Excel 2010
    Posts
    152

    Re: Transfer data from userform to a sheet

    Thanks Richard,

    I have used only the part of the code that you have posted:

    As I'm trying to make it idiot proof, is there a way to still transfer everything, even if the ops will start entering Product, Dscription and Qty somewhere in a middle lets say starting from textbox11,
    because now if I skip the first textbox5,textbox6 and textbox7 it wont transfer to a sheet Product, Dscription and Qty.

    Please Login or Register  to view this content.

+ 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] Transfer data from userform to 2 dif sheets(difclassification in each sheet) & print repor
    By MariaPap in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 12-16-2015, 03:31 AM
  2. transfer data from sheet to another using userform
    By sterio in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-04-2015, 07:52 PM
  3. [SOLVED] Transfer data from a userform to a sheet
    By MariaPap in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-09-2014, 10:58 AM
  4. combining code to have userform get data from 1 sheet and transfer to another
    By James__S in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-27-2014, 03:26 AM
  5. combining chart userform and data transfer userform into 1 userform
    By H_Kennedy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-03-2014, 12:28 PM
  6. Transfer data from UserForm to Specific Sheet...
    By z-eighty2 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-07-2013, 10:26 PM
  7. [SOLVED] Match or Loop to Transfer Data from Userform to Sheet
    By cschoyer in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 07-25-2012, 03:06 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