Recording changing cell

GSP1976

New Member
Joined
Oct 26, 2019
Messages
6
Hi guys

I have been struggling to find a solution to an excel problem I have. As the title says I have a cell in my spreadsheet that is constantly changing "H10" and I would like to record this for the last 5 seconds at 1 second intervals. But this would be triggered to start recording with another cell "C82" which will contain a "0" and a "1" to activate the recording. There is also another cell which will works the same way as the start trigger( 0 and a 1) and this sell is "C83". The recording cells are listed below.

now = I77
1 second ago = H77
2 seconds ago = G77
3 seconds ago = F77
4 seconds ago = E77
5 seconds ago = D77

I would like that thank anyone who helps or gives advice in advance.
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Hi,

The main issue is : HOW is the cell changed ...

Indeed... from your description ... one could draw the conclusion you are dealing with a Live feed ...

And a Live feed is a totally different issue ...
 
Upvote 0
Hi,

The main issue is : HOW is the cell changed ...

Indeed... from your description ... one could draw the conclusion you are dealing with a Live feed ...

And a Live feed is a totally different issue ...

Hi James, thanks for replying

So, Im not sure if it is classed as a live feed as i dont know much about this but the spreadsheet is powered or populated from sports trading software called "bet angel". Which gets all its information through an API from Betfair.

thanks again for the help
 
Upvote 0
Hi again,

To find out ... you can add following event macro to your sheet's module

Code:
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address <> "$H$10" Then Exit Sub
MsgBox " New Value ..."
End Sub

If when cell H10 changes ... you do get the message pop-up ...

you will know how the update is performed ...
 
Upvote 0
Hi again,

To find out ... you can add following event macro to your sheet's module

Code:
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address <> "$H$10" Then Exit Sub
MsgBox " New Value ..."
End Sub

If when cell H10 changes ... you do get the message pop-up ...

you will know how the update is performed ...

no pop up box, do i need to run this as a macro? I placed the code in the sheets "view code" thing, then saved both the VB window and the spreadsheet
 
Upvote 0
So ... can you test following

Code:
Private Sub Worksheet_Calculate()
    If Target.Address <> "$H$10" Then Exit Sub
    MsgBox " New Value ..."
End Sub

to be stored in Sheet1 module ....( not in Standard Module 1 ...)
 
Upvote 0
ive just tried it again, it shows a message box saying run time error or something of that nature.
 
Upvote 0
Well... not really ...

The problem you are facing is that the way your cell is updated .... does not trigger any event ...

To understand what I mean ... just test a manual input into cell H10 ...
 
Upvote 0

Forum statistics

Threads
1,214,541
Messages
6,120,110
Members
448,945
Latest member
Vmanchoppy

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top