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: 13

Some videos you may like

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.

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 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
 

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 file here but have attached a screenshot
 

Watch MrExcel Video

Forum statistics

Threads
1,127,601
Messages
5,625,749
Members
416,133
Latest member
ToseSenpai

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
Top