Macro for Auto Scrolling + Live Data Feeds

MarkoX50

New Member
Joined
Jan 22, 2013
Messages
45
Hi,

I am using 2010 excel and have a data connection that refreshes every 3 minutes. I need to help to create a VBA macro that automatically scrolls my data from row 5 to row 50 and loop back again. The problem is that the macro i am using stops the data connection or freezes.

My data connection is fed from a website every 3 minutes updating my Dashboard report for the company to see. I have 50 rows displaying but need it to scroll up and down continuously and also refresh the data every 3 minutes.

I am not an expert and found the VBA code for scrolling which is:

Sub SlowScroll()
For i = 5 To 30
r = 1
Do Until r = 300
Cells(r, 30) = r
r = r + 1
Loop
ActiveWindow.SmallScroll Down:=1
Next i
Range("A5").Select
SlowScroll
End Sub

How can i get my report to scroll up and down and still refresh the data every 3 minutes.

Thanks
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.

Forum statistics

Threads
1,214,833
Messages
6,121,868
Members
449,053
Latest member
Mesh

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