+ Reply to Thread
Results 1 to 11 of 11

Transfer Data Between Sheets Automatically

  1. #1
    Forum Contributor
    Join Date
    01-27-2016
    Location
    Greenville,NC
    MS-Off Ver
    Excel 2013
    Posts
    124

    Transfer Data Between Sheets Automatically

    Hello Experts,
    The MASTER sheet will have all of the entries of data. Simply, based on whatever name is chosen in column A in the master sheet; all the field data needs to be copied to the sheet name of the person.

    For example, A2 has Jon and some relative data for Jon. So is there a way once a user selects Jon -> then finishes inputting all the other records, that information is automatically sent to the next available row in the Jon sheet? It needs to go to the next avaialable row and not copy over previous entries. Hope someone can help with this, becasue I have been trying to figure this out for a bit. i know my code is a terrible approach for this.

    Thanks!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Transfer Data Between Sheets Automatically

    That is easily done.

    Before looking at your data or your code.

    The Process is:-

    Use a Worksheet Change Macro to log the changes on your master worksheet.

    When all fields are complete, the worksheet macro calls a main macro that copies the data to the user sheet.

    Not to hard really.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Transfer Data Between Sheets Automatically

    Here's a double-click event for your Master sheet module:

    Please Login or Register  to view this content.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  4. #4
    Forum Contributor
    Join Date
    01-27-2016
    Location
    Greenville,NC
    MS-Off Ver
    Excel 2013
    Posts
    124

    Re: Transfer Data Between Sheets Automatically

    Thanks for your reply, but would you be willing to illustrate? I do not understand what you are referring to or how it works.

  5. #5
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Transfer Data Between Sheets Automatically

    Ok so.

    All Cells A to G must have data................................................................

    Right Click on the name "Master" at the bottom of excel and select view code

    Paste this code into the module that opens and close it.

    Please Login or Register  to view this content.

    Then Select the developer tab
    Select Visual basic and then project explorer
    Select your workbook from the list
    Then select insert module

    paste this code into the module that opens and close it

    Please Login or Register  to view this content.
    Last edited by mehmetcik; 06-12-2018 at 07:37 PM.

  6. #6
    Forum Contributor
    Join Date
    01-27-2016
    Location
    Greenville,NC
    MS-Off Ver
    Excel 2013
    Posts
    124

    Re: Transfer Data Between Sheets Automatically

    keep getting an error " Compile error: Sub or Function not defined " And it highlights in blue the Transfer (R) part of the code?

  7. #7
    Forum Expert nigelog's Avatar
    Join Date
    12-14-2007
    Location
    Cork, Ireland
    MS-Off Ver
    Office 365 Windows 10
    Posts
    2,286

    Re: Transfer Data Between Sheets Automatically

    works in attached workbook
    Attached Files Attached Files
    Last edited by nigelog; 06-13-2018 at 10:31 AM.

  8. #8
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Transfer Data Between Sheets Automatically

    Thanks for the rep! Here's a slightly safer version:

    Please Login or Register  to view this content.

  9. #9
    Forum Contributor
    Join Date
    01-27-2016
    Location
    Greenville,NC
    MS-Off Ver
    Excel 2013
    Posts
    124

    Re: Transfer Data Between Sheets Automatically

    Thank you all so much!

  10. #10
    Valued Forum Contributor
    Join Date
    04-01-2015
    Location
    The Netherlands
    MS-Off Ver
    2003/2007/2010/2016/office 365
    Posts
    880

    Re: Transfer Data Between Sheets Automatically

    Two alternatives without variables

    Please Login or Register  to view this content.
    Or
    Please Login or Register  to view this content.

  11. #11
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Transfer Data Between Sheets Automatically

    You're welcome!

+ 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 automatically
    By YasserKhalil in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-06-2014, 05:57 PM
  2. Automatically transfer data from one sheet to another
    By kishn697 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-18-2014, 07:05 AM
  3. Replies: 6
    Last Post: 11-08-2013, 11:59 AM
  4. Replies: 8
    Last Post: 05-21-2013, 10:07 AM
  5. Hi, Need Help to automatically transfer data
    By Bzynski in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-16-2013, 06:35 AM
  6. [SOLVED] VBA. One workbook, 9 sheets, how to transfer data from all sheets to one sheet?
    By rain4u in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 05-08-2012, 01:28 PM
  7. Replies: 8
    Last Post: 05-01-2009, 12:38 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