Excel Macro to capture Open / High / Low / Close value from a dynamic cell (X11) into cell AP11 to AS11 every 5 mins

mahmad558

New Member
Joined
Nov 18, 2020
Messages
3
Office Version
  1. 2019
Platform
  1. Windows
I need a Macro to capture details from X11 cell which dynamically changes every second, i want to capture "Open / High / Low / Close" value data at an interval of every 5 mins and store in a new row from AP11 to AS11. This macro should fire up when values in S11 & S12 are filled by the user.

Open Value will be captured at 09:15:00 Hrs, Close Value will be captured at 09:19:59, between this time Highest and Lowest Value will also be captured, this will go on until the data feed in X11 is stopped i.e 03:30:00

I have little to no knowledge of VBA and Macros. Not sure if I can attach my fine here but have attached a screeshot
 

Attachments

  • Excel Sample.png
    Excel Sample.png
    76.2 KB · Views: 28

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
I need a Macro to capture details from X11 cell which dynamically changes every second, i want to capture "Open / High / Low / Close" value data at an interval of every 5 mins and store in a new row from AP11 to AS11. This macro should fire up when values in S11 & S12 are filled by the user.

Open Value will be captured at 09:15:00 Hrs, Close Value will be captured at 09:19:59, between this time Highest and Lowest Value will also be captured and stored in their respective cells, this will go on until the data feed in X11 is stopped i.e 15:25:00. FYI .... X11 has a formula =IF(COUNT(W15)=1,W15*25,"")

I have little to no knowledge of VBA and Macros. Not sure if I can attach my fine here but have attached a screeshot
 
Upvote 0
I need a Macro to capture details from X11 cell which dynamically changes every second, i want to capture "Open / High / Low / Close" value data at an interval of every 5 mins and store in a new row from AP11 to AS11. This macro should fire up when values in S11 & S12 are filled by the user.

Open Value will be captured at 09:15:00 Hrs, Close Value will be captured at 09:19:59, between this time Highest and Lowest Value will also be captured, this will go on until the data feed in X11 is stopped i.e 03:30:00

I have little to no knowledge of VBA and Macros. Not sure if I can attach my file here but have attached a screenshot
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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