+ Reply to Thread
Results 1 to 8 of 8

Transfer Data between sheets

  1. #1
    Registered User
    Join Date
    06-30-2014
    Location
    Yorkshire England
    MS-Off Ver
    2007
    Posts
    27

    Transfer Data between sheets

    Hi Im new to VBA so im struggling

    I have a Time sheet that has 2 sheets and I need to transfer data from sheet 1 to sheet 2. when i delete data from sheet 1 im wanting the data on sheet 2 to stay there and on the next entry move down the colums.
    Sheet 2 has 3 colums: E7 to E32, G7 to G32 and I7 to I32 then theres a gap where the colums start again: E41 to E66, G41 to G66 and I41 to I66.
    Sheet 1 has 3 cells P90, P92 and U99.

    Sheet 1 P90 to transfer to Sheet 2 E7 then when i delete data on P90 the next entry from P90 would move down to next row which would be E8 etc.

    Ive attachached sample data sheets...

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Transfer Data between sheets

    At what stage do you want the data to transfer to Sheet2?
    What you do want to trigger that?

    BSB

  3. #3
    Registered User
    Join Date
    06-30-2014
    Location
    Yorkshire England
    MS-Off Ver
    2007
    Posts
    27

    Re: Transfer Data between sheets

    When I finished entering data on sheet 1. I thought Id add a command button or just use a VBA short cut to transfer data...

  4. #4
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Transfer Data between sheets

    Can I just check that all three cells (P90, P91 & U99) will have a value each time Sheet2 is to be updated?

    BSB

  5. #5
    Registered User
    Join Date
    06-30-2014
    Location
    Yorkshire England
    MS-Off Ver
    2007
    Posts
    27

    Re: Transfer Data between sheets

    Yes, sheet 1 (Time Sheet) has 3 cells that will all contain data, P90 (Total Hours), P92 (Worked Hours) and U99 (Holidays).
    Sheet 2 (Working Time Directive) Has 3 cells but in colums, (Total Hours) E7 to E32, ( Worked Hours) G7 to G32 and (Holidays) I7 to I32 but threes a break in the colums, E7 colum stops at E32 and starts again at E41 to E66, same with cells G7 and I7. What Im wanting is when the data is transfered to sheet 2 to E7, G7 and I7 and i delete sheet 1 data the next time i add data to sheet 1 the data is transfered to sheet 2 to the next row down. Iknow this sounds complicated so i added an attached workbook....
    Thanks

  6. #6
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Transfer Data between sheets

    Very basic coding, but should be easy to follow for a beginner.

    Please Login or Register  to view this content.
    BSB
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    06-30-2014
    Location
    Yorkshire England
    MS-Off Ver
    2007
    Posts
    27

    Re: Transfer Data between sheets

    Thank you very much, it works perfect...

  8. #8
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Transfer Data between sheets

    Happy to help.
    Don't forget to mark the thread as SOLVED if you're happy you have a working solution.

    Have a good day.

    BSB

+ 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. Data transfer between sheets with VBA
    By hey.ymt in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-25-2016, 02:05 AM
  2. [SOLVED] Data Transfer Among Sheets
    By Ray Park in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-08-2013, 12:31 PM
  3. data transfer between sheets
    By MikieD in forum Excel General
    Replies: 9
    Last Post: 03-24-2013, 06:27 PM
  4. Transfer Data between sheets
    By ryanb4614 in forum Excel General
    Replies: 3
    Last Post: 07-21-2012, 11:25 PM
  5. [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
  6. Transfer data between sheets
    By billdata in forum Excel General
    Replies: 1
    Last Post: 02-17-2009, 03:21 AM
  7. [SOLVED] transfer data between sheets
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-02-2005, 06:35 AM

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