Currently this is the code I have used (successfully) to get the result from google translate after loading the website (from a generated URL that still brings up google translate correctly) in an IE object (I have not touched the file in 2 days and tried it the day after google updated their google translate website):
Function GetTransItem(IE As Object) As String
Dim strInnerHTML As String
Dim ArraySplitHTML
Dim iArrayItem As Long
Dim strTranslated As String
strInnerHTML = IE.Document.getElementById("result_box").innerHTML
'some other code here to fix hmtl character encodings, clean up HTML, etc. etc.
GetTransItem = strTranslated
End Function
This line now gives an error as of last thursday (11/29), when google updated the google translate website:
strInnerHTML = IE.Document.getElementById("result_box").innerHTML
The HTML is completely different now and I don't know enough to find out what i need to "GET" instead of "result_box" to find the translated text on the website.
If anyone can help me figure out what line(s) of code will return me the string with the translation result in it i would greatly appreciate it.