I am currently doing a labview program the results will be saved in to an Excel file.
I would like to see the updates in excel as the time goes. I mean that excel should refresh. Can anybody help me in telling me how to do this?
or ask VBA excel to refresh each second (for example)
another idea, test file size and reload it if it has changed
Code:
Sub MeasureSize()
Dim TheFile As String
TheFile = "c:\scan1.xls"
With CreateObject("Scripting.FileSystemObject")
MsgBox .GetFile(TheFile).Size & " bytes"
End With
End Sub
tgq great ideas... VBA with Excel is a very powerfull tool, i have written some macros myself to help me out on work. I even had one to launch some batch programs and connect to server to get information out of them and process it afterwars.