In Excel, if I enter the word “PIZZA” into a cell, select it, and SHIFT+F7, I can get a nice English dictionary definition of my favorite food. Pretty cool.
But I’d like a function that does this. Something like ‘=DEFINE(“PIZZA”)’.
Is there a way through VBA scripts to access Microsoft’s Research data? I was considering using a JSON parser and a free online dictionary, but it seems like Excel has a nice dictionary built-in. Any ideas on how to access it?
In case VBA’s Research object doesn’t work out, you can try the Google Dictionary JSON method as so:
First, add a reference to “Microsoft WinHTTP Services”.
After you see my mad, JSON parsing skillz, you may also want to add your favorite VB JSON parser, like this one.
Then Create the following Public Function:
After that, it’s just a matter of putting the function in your cell: