How would I create a system where an excel file is updated in real time with new values? I have a program which logs data, and I want to have excel open, plotting the data in real time. Is this possible?
How would I create a system where an excel file is updated in real time with new values? I have a program which logs data, and I want to have excel open, plotting the data in real time. Is this possible?
Hello papermoon,
Here a few sites that will walk you through the process:
Sincerely,
Leith Ross
Remember To Do the Following....
1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.2. Thank those who have helped you by clicking the Starbelow the post.
3. Please mark your post [SOLVED] if it has been answered satisfactorily.
Old Scottish Proverb...
Luathaid gu deanamh maille! (Rushing causes delays!)
thanks alot. these all seem to be updating from the web though.
what i have is a file which updates itself in real time ( i use data logging software and it updates an excel file every few seconds). what I want is a way to "refresh" the excel file every few seconds to have the new values
Hello papermoon,
Excel does not have a refresh method outside of Query operation. Your software is writing to Excel and that is what is updating the worksheet. Unless you can change some variable in your software, there is no Excel or VBA method to force your software to write its data to Excel.
ok, is there any way that the file can be automatically copy-pasted elsewhere, then loaded in excel? then when i want to update or "refresh" the file, it automatically copy and pastes it again, then re-opens the excel file? right now i am doing this manually (copy-pasting), but i want to know if there is automated way to do it.
I don't understand...
what i have is a file which updates itself in real time ( i use data logging software and it updates an excel file every few seconds). what I want is a way to "refresh" the excel file every few seconds to have the new values
You have a third party application that sends data to an Excel file?
This happens every few seconds?
What do you need to refresh?
You can, through various methods, automatically run code when these updates occur.
It sounds as if you you want to chart the incoming data as it is recieved. Correct?
yes that is correct, i want a chart to automatically update. and i do have a third party application which updates an excel file every few seconds
Papermoon. Provide some details please such as what ranges are being updated. Are there DDE links in these range? RDT functions? Is the data send directly to Excel from the third party app? I cannot help you without some details as there are various methods for responding to dynamic updates.
Hey there is this new JSON Data site that is in beta that should help you out. It is free and updates real time. Hope this helps.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks