I may have finally learned the native way to get live numbers into Excel:
http://www.windmill.co.uk/excel/excelweb.html
Can this also be used to publish numbers using Excel?
Recursive algorithms can be slow because they end up solving the same little problems over and over again. To speed them up, you can use a technique called "memoization." Memoization allows algorithms go much more quickly by remembering solutions to problems they have already solved. I’m the recursive algorithm. This blog is my memoization.
Showing posts with label Excel. Show all posts
Showing posts with label Excel. Show all posts
Friday, December 12, 2014
Tuesday, November 25, 2014
Excel to web and back again
The goal here is to learn to take a number in Excel and then automatically post it to a site on the web.
A second goal is to automatically read a number from the web.
This guy used VBA in word to call a Windows library. So this solution is Windows only, but . . . maybe Excel is mostly Windows only anyway:
http://www.wayne-robinson.com/journal/2009/7/28/wordexcel-http-post.html
A more general discussion is here:
http://stackoverflow.com/questions/158633/how-can-i-send-an-http-post-request-to-a-server-from-excel-using-vba
From that discussion, one person used Querytables from VBA, which meant his solution worked for both Windows and Mac:
http://numbers.brighterplanet.com/2011/01/06/using-web-services-from-excel/
He also has a little bit to teach about going from the web to Google Docs and back.
But here's a more comprehensive resource if you're looking to learn about Google docs:
http://builtvisible.com/playing-around-with-importxml-in-google-spreadsheets/
Might need to learn about Xpath for this.
It's also possible to link to a specific cell in Excel:
http://support.microsoft.com/KB/197922
Web queries in Excel:
http://www.vertex42.com/News/excel-web-query.html
A second goal is to automatically read a number from the web.
This guy used VBA in word to call a Windows library. So this solution is Windows only, but . . . maybe Excel is mostly Windows only anyway:
http://www.wayne-robinson.com/journal/2009/7/28/wordexcel-http-post.html
A more general discussion is here:
http://stackoverflow.com/questions/158633/how-can-i-send-an-http-post-request-to-a-server-from-excel-using-vba
From that discussion, one person used Querytables from VBA, which meant his solution worked for both Windows and Mac:
http://numbers.brighterplanet.com/2011/01/06/using-web-services-from-excel/
He also has a little bit to teach about going from the web to Google Docs and back.
But here's a more comprehensive resource if you're looking to learn about Google docs:
http://builtvisible.com/playing-around-with-importxml-in-google-spreadsheets/
Might need to learn about Xpath for this.
It's also possible to link to a specific cell in Excel:
http://support.microsoft.com/KB/197922
Web queries in Excel:
http://www.vertex42.com/News/excel-web-query.html
Labels:
Excel,
get,
google docs,
http requests,
post,
xpath
Subscribe to:
Posts (Atom)