This is a VBA script i am using to translate fields in a excell sheet. The problem is that the script works for me about 2 3 month ago, but now the IE.Document is empty after translating. The page comes up with correct translation but i can't get the result inside my excel sheet
inputstring = "en"
outputstring = "da"
text_to_convert = str
'open website
IE.Visible = True
IE.navigate "https://translate.google.com/#" & inputstring & "/" & outputstring & "/" & text_to_convert
Do Until IE.ReadyState = 4
DoEvents
Loop
Application.Wait (Now + TimeValue("0:00:4"))
Do Until IE.ReadyState = 4
DoEvents
Loop
test = IE.Document.getElementById("result_box")