+ Reply to Thread
Results 1 to 8 of 8

Capture Data from Cell

  1. #1
    Registered User
    Join Date
    10-26-2007
    Posts
    55

    Capture Data from Cell

    Hi Newbie here,

    My excel knowledge is average.

    I have 2 cells

    I'm extracting data from a program i have.

    Cell A1 Counts down to 00:00:00
    Cell A2 has data that is refreshed every time its changes(min 1 sec)

    I'm looking to capture the data from 00:05:00 down to 00:00:00 in a different sheet. I want to capture both cell contents.

    Does anyone know how to do this with functions or do i need VBA???

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967
    Try this event driven macro which needs to be pasted into the VBA tab corresponding to the sheet in which your changing data resides. You'll need to have an additional sheet Sheet2.

    Please Login or Register  to view this content.
    Martin

  3. #3
    Registered User
    Join Date
    10-26-2007
    Posts
    55
    Just let you know my code is on sheet 2 and i have data on Sheet3 as well.
    So i copied and pasted below into sheet 4 in the microsoft visual code screen
    under sheet 2, but nothing is happening in sheet 4 as i take it thats where the data would be copied to
    Please Login or Register  to view this content.
    Please forgive me as i've got very little vba experience

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Please read forum rules below. In future you should post to the correct group (I've moved this thread to programming) and all code must be wrapped (I wrapped the code).

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  5. #5
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967
    Can you post a zipped copy of the file itself? This would help.

  6. #6
    Registered User
    Join Date
    10-26-2007
    Posts
    55
    Hi,

    This is the actual spreadsheet that i'm working on.

    As you have not got the program i'm using you'll not be getting any live data.

    But i'll explain how it works, Under data sheet > D2, The clock will be counting down.

    Cell H9 will be changing at same time. What i'm looking to do is on TIME sheet is to store all the data in H9 and have a time stamp using D2
    Attached Files Attached Files

  7. #7
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967
    Is this any better?
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    10-26-2007
    Posts
    55
    cheers thanks very much mrice

+ 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