+ Reply to Thread
Results 1 to 13 of 13

Copy Cell Value wich is changing every day to cell in another sheet

  1. #1
    Registered User
    Join Date
    06-04-2009
    Location
    Slovakia
    MS-Off Ver
    Excel 2007
    Posts
    16

    Copy Cell Value wich is changing every day to cell in another sheet

    Hello,

    I have one cell for example in Sheet1 cell E13 which is changing every day. And I want copy value of this cell every day to another sheet to column which is next to column which dates. Its possible?

    For example 31.03.2012 I change E13 on "183" and I want that value "183" copy to another sheet

    A23 = 31.03.2012 B23 = "183"

    next day 01.04.2012 I change E13 to "199" and another sheet must see like

    A23 = 31.03.2012 B23 = "183"
    A24 = 01.04.2012 B24 = "199"

    ....etc for 365 days in year.

    Thank you.
    Last edited by stanley; 04-01-2012 at 04:46 AM.

  2. #2
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: Copy Cell Value wich is changing every day to cell in another sheet

    Give this code a shot, it should go in the sheet module of sheet1
    Please Login or Register  to view this content.
    If you liked my solution, please click on the Star -- to add to my reputation

    If your issue as been resolved, please clearly state so and mark the thread as [SOLVED] using the thread tools just above the first post.

  3. #3
    Registered User
    Join Date
    06-04-2009
    Location
    Slovakia
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: Copy Cell Value wich is changing every day to cell in another sheet

    I am newbie in excel.... I make right click on Sheet in vba Select Insert/Module, paste your code, but still not working

  4. #4
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: Copy Cell Value wich is changing every day to cell in another sheet

    from the VBE instead of rightclick and inserting a new module, just double click on the sheet, it will open a code window, you can paste the code in that section.

  5. #5
    Registered User
    Join Date
    06-04-2009
    Location
    Slovakia
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: Copy Cell Value wich is changing every day to cell in another sheet

    Sorry...but still not working... I change E13 in sheet1. I try change system date...but your code stil not working...thank you for your help

  6. #6
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: Copy Cell Value wich is changing every day to cell in another sheet

    could you attach the workbook?

  7. #7
    Registered User
    Join Date
    06-04-2009
    Location
    Slovakia
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: Copy Cell Value wich is changing every day to cell in another sheet

    Sorry my mistake...Is working. But, working only when I change cell E13 if I want fill these cell by function =sum(E1:E12) its not working. And If sum in E13 change two times of one day is not working too. Can you help me with these? (in workbook I change my system time to test it)
    Zošit11.xlsm

  8. #8
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: Copy Cell Value wich is changing every day to cell in another sheet

    this will cause the function to triger when ever there is a change in any cell range E1:E11, regardless of date.

    if this is not what you are looking for, could you be more specific as to when you want the macro to trigger?

    Please Login or Register  to view this content.

  9. #9
    Registered User
    Join Date
    06-04-2009
    Location
    Slovakia
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: Copy Cell Value wich is changing every day to cell in another sheet

    No...sorry for my English. If you every day write to excel your spend or earn money....To E2:E65536 for examle and in E1 you SUM this cells. And if you want save your daily cash disponsibilty to another sheet whit date. Than I can see in 03/03/12 i have 1100€, in 05/05/12 i have 5400€...etc. Thats I want...if you understand. Thank you a lot for your patience.

  10. #10
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: Copy Cell Value wich is changing every day to cell in another sheet

    ok, so i could have it trigger based on any entry in E, it will take the value from E1 (the sum) and enter than with today's date on the next sheet, if you update it today, it will just update that value on the other sheet, but if it is a different date, it will create a new line? is that it?

  11. #11
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: Copy Cell Value wich is changing every day to cell in another sheet

    Try this code and sample file, it will do as described in my previous post.

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

  12. #12
    Registered User
    Join Date
    06-04-2009
    Location
    Slovakia
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: Copy Cell Value wich is changing every day to cell in another sheet

    Working perfectly....big thank you....

  13. #13
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: Copy Cell Value wich is changing every day to cell in another sheet

    glad i could help you out, good luck with the rest of the project.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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