+ Reply to Thread
Results 1 to 8 of 8

data transfer

  1. #1
    Forum Contributor
    Join Date
    02-24-2017
    Location
    london
    MS-Off Ver
    OFFICE 365
    Posts
    105

    data transfer

    Hi All

    i have 2 sheets in a workbook
    sheet 1 (Fire 1 Inventory Sheet) which i need the user to fill in
    sheet 2 which i need the data from sheet 1 to be logged

    i need the date and name in sheet 1 (c1:c2) and all the results in column E in sheet 1 to be transfered into the next available row in sheet 2 starting with A3 when the user hits the submit to log button

    any help would be much appreciated

    Kind Regards
    Steddas
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    06-29-2014
    Location
    Australia
    MS-Off Ver
    MSO 365
    Posts
    1,098

    Re: data transfer

    Hello Steddas,

    See if the following code, assigned to the button, works for you:-

    Please Login or Register  to view this content.
    I hope that this helps.

    Cheerio,
    vcoolio.

  3. #3
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,819

    Re: data transfer

    Try the attached file. Before you click the button, format cell A2 on the "Fire 1 Inventory Log" sheet as a date.
    Attached Files Attached Files
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

  4. #4
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,481

    Re: data transfer

    Hi there,

    See if the attached version of your workbook does what you need.

    It uses the following code:

    Please Login or Register  to view this content.

    I have to go out now so I don't have time to include an explanation, but please feel free to ask if you need any further information.

    Hope this helps - please let me know how you get on.

    Regards,

    Greg M

  5. #5
    Forum Contributor
    Join Date
    02-24-2017
    Location
    london
    MS-Off Ver
    OFFICE 365
    Posts
    105

    Re: data transfer

    thank you works brilliantly

  6. #6
    Forum Contributor
    Join Date
    02-24-2017
    Location
    london
    MS-Off Ver
    OFFICE 365
    Posts
    105

    Re: data transfer

    Hi vcoolio how do i alter the code if i add more items to the inventory say on the inventory sheet it goes down to as far as row 97 ?

    thanks for the original code it works brilliantly just need to know how to alter if i add more equipment to the fire engines

    Kind Regards
    Steddas

  7. #7
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,481

    Re: data transfer

    Hi again,

    The green shaded areas in the attached workbook are synchronised - adding an item in the range C2:CX2 on the Log worksheet will cause that item to appear in the range D4:D103 on the Inventory worksheet - the entire range E4:E103 is copied to the Log worksheetwhen the "Submit To Log" button is pressed.


    Hope this helps - please let me know how you get on.

    Regards,

    Greg M
    Attached Files Attached Files
    Last edited by Greg M; 04-20-2019 at 01:35 PM. Reason: Typo corrected

  8. #8
    Valued Forum Contributor
    Join Date
    06-29-2014
    Location
    Australia
    MS-Off Ver
    MSO 365
    Posts
    1,098

    Re: data transfer

    Hello Steddas,

    You won't have to alter any thing in the code. You'll only have to add a few more headings for the newly added equipment in the Log sheet and ensure that your Wingding font continues further along to cover the new headings. As long as you have data validation in each cell in Column E (Inventory sheet), this part of the code will do the rest for you:-

    Please Login or Register  to view this content.
    However, it would be worthwhile changing this line of code:-

    Please Login or Register  to view this content.
    to

    Please Login or Register  to view this content.
    This will cover the fact that you may not have an entry for Column C in the log sheet which could end up mis-aligning your rows of data.

    Or, you could just use Greg M's code in post #7, as, as far as I can tell, he has all angles covered.

    I hope that this helps.

    Cheerio,
    vcoolio.
    Last edited by vcoolio; 04-20-2019 at 08:18 PM. Reason: Typo in code.

+ 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. Transfer & confirm data transfer between workbooks
    By fenfool in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-02-2015, 01:10 PM
  2. [SOLVED] Compare Data in 2 Columns in 2 sheet When there is a match transfer data from 2nd Column
    By kellyjo7 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-19-2015, 01:05 PM
  3. [SOLVED] Copy Data from Range on Specific Worksheet and Transfer Data to New Workbook
    By s2jrchoi in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-22-2013, 08:24 AM
  4. Replies: 1
    Last Post: 05-04-2013, 06:42 PM
  5. Replies: 1
    Last Post: 05-03-2013, 11:38 AM
  6. Replies: 4
    Last Post: 01-18-2013, 10:49 PM
  7. Replies: 11
    Last Post: 07-13-2011, 05: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