+ Reply to Thread
Results 1 to 3 of 3

Transfer Input Data from Sheet 1 to Sheet 2 on button click

  1. #1
    Registered User
    Join Date
    07-09-2019
    Location
    Plymouth
    MS-Off Ver
    2010
    Posts
    2

    Transfer Input Data from Sheet 1 to Sheet 2 on button click

    I'm in the process of setting up a very basic userform which I've created on sheet 1 of my workbook. The userform automatically populates the date with todays date then there are dropdown boxes for the user to select their name and the task they are performing. There are also 2 buttons to record the time they start a task and the time they finish a task. The data is held in cells D2, D4, D6, D8 & D11. What I'd like to happen is when the user selects the "Submit" button it transfers all the data to the next free row in corresponding columns on sheet 3 (i.e. D2 to next free cell of column A on sheet 3, D4 to next free cell of column B on sheet 3 D6 to next free cell of column C on sheet 3 and so on and so forth). I've found VBA solutions to transferring whole rows to the next free row in another sheet and solution to transferring data held in the same column where the cells are next to each other but can't find anything where the data is not in cells that are next to each other. Any support with this would be appreciated. Thanks

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,916

    Re: Transfer Input Data from Sheet 1 to Sheet 2 on button click

    Welcome to the forum.

    Will you please attach a sample Excel workbook? We are not able to work with or manipulate a picture of one and nobody wants to have to recreate your data from scratch.

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired results are also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    07-09-2019
    Location
    Plymouth
    MS-Off Ver
    2010
    Posts
    2

    Re: Transfer Input Data from Sheet 1 to Sheet 2 on button click

    Thanks for your reply, example workbook attached as instructed.
    Attached Files Attached Files

+ 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. Replies: 1
    Last Post: 08-20-2015, 01:12 AM
  2. Replies: 2
    Last Post: 08-19-2015, 05:13 PM
  3. Transfer data from different sheets to database sheet by click of a button (VBA)
    By Rudidw in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-22-2015, 09:03 AM
  4. Transfer data from Database sheet back to Input sheet
    By Rudidw in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-21-2015, 05:59 PM
  5. [SOLVED] Issue regarding recorded Macro to transfer data from Input sheet to Storage sheet
    By Hirad001 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-29-2015, 04:26 PM
  6. Transfer data from input sheet to data sheet by using command button
    By vinh1985 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-17-2014, 12:17 AM
  7. How to transfer data from a daily input sheet to a separate monthly total sheet
    By Jcooper71 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-25-2014, 02:37 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