+ Reply to Thread
Results 1 to 2 of 2

Generate a list from one cell(updated) from sheet A in sheet B

  1. #1
    Registered User
    Join Date
    11-12-2011
    Location
    Poland
    MS-Off Ver
    Excel 2003
    Posts
    1

    Generate a list from one cell(updated) from sheet A in sheet B

    Hi!

    I was looking for solutions to my problem, but I couldn't find the right one.

    What I have:
    Sheet A
    Cell A1 = "X"

    X - is updated automatically every 30 mins.

    What I want to achieve:
    Copy data from Cell A1 every 30 min and past it into sheet B.
    Each copy has to be in a new cell.

    Ergo - creating a list in Sheet B by copying the data every 30 min from Cell A1 in sheet A.

    AUTOMATICALLY of course - as long as the document is open, or, after pressing a button linked to macro for example.

    What would be nice to have in addition:
    Decide how many times this process will happen.
    For example:
    From cell A1 - A30(length of generated list), then stop...
    or
    From cell A1 - A30(length of generated list), then overwrite data from A1...

    I would be very thankfull for you help!

    With regarts!
    neoz

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Generate a list from one cell(updated) from sheet A in sheet B

    Rather than using a timer, wouldn't it be prudent to simply record the value of A1 into a "log" sheet every time it changed, right when it happened? That can be done pretty simply with a worksheet_change macro. This macro in the Sheet1 module would record the results into a sheet called "Log" in the next empty cell of column A:

    Please Login or Register  to view this content.

    This sample code also adds a "time stamp" in column B of the Log sheet. It will also only keep the last 30 entries.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ 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