Live feed from Excel, possible?

Dancey_

New Member
Joined
Aug 18, 2010
Messages
41
Hey guys,

Please can you help me?

I have an excel database, that is updated by users (using a macro) which records the 'sales' they have made as they make them.

Can anyone help me with regards to being able to update a 'leaderboard' style spreadsheet, or powerpoint, or something similar so that it can be displayed on a big TV in our office?

My initial ideas is have a spreadsheet that has Sheet1 that is just a linked copy of the database, and then on Sheet2 have a pivot table as a leader board.

I have a Macro to update pivot tables however I can only trigger the macro manually, is there any way that I can make the table update every thirty seconds?

If it can be done a different way I am completely open!

Cheers
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Hi Dancey,

I have been working on something long the same lines with help fro mthis forum.
I Started out (before using vba), by using the Update Links addin (just google it to get the website). that wored fine, but it would take time to setup all the links correctly to update the screen.

Recently I have been trying out using vba to create a html file, which will also refresh a scrolling marquee in internet explorer (maybe not the best but still im still learning lots about coding things!!).

My system is based on looking for new text files, then updating the html file, before working out if the page should be refreashed (which im not sure I have right).

The first method looked better (as I could style the show etc), the second method is quick to setup (as no need to develop the layouts etc which is all done in vba).

for your Pivot table you can use the Now() Time option which will rerun code at what ever interval you set it too, or as mentioned try the update links addin for powerpoint (which will update all links on on each cycle of the show)
 
Upvote 0
Hi,

Thanks for the info, it hasnt given me lots to go on with.

Do you have an example of the NOW() function working, I cant seem to make it work?

I think that would be the easiest way for me, would be to refresh the pivot table every thirty seconds with that code until I tell it to stop!

Cheers
 
Upvote 0
Code:
Sub Reloadcode()
Dim TimeRun as Date
   
Msgbox("Code running")
'Set Timerun value to current system time + 30 seconds
Timerun = Now() + TimeValue("00:00:30")    
' make the system reload the sub at Timerun (set above)
Application.OnTime Timerun, "Reloadcode"
 
End Sub
...so with the above you will want to add the last couple of lines to the end of your update (via vba).

To stop the Sub loop you can use the below code (in another sub/button) (and set Timerun as Public Timerun as Date at the top of the code)

Code:
Sub stopload()
Application.OnTime Timerun, "Reloadcode", , False
Timerun = 0
 
End Sub
 
Upvote 0

Forum statistics

Threads
1,224,603
Messages
6,179,853
Members
452,948
Latest member
UsmanAli786

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