oDocument.parentWindow.execScript "function sum(x,y) {return x+y;}"
Msgbox oDocument.parentWindow.Sum(2,3)
oDocument.parentWindow.execScript "function sum(x,y) {return x+y;}"
Msgbox oDocument.parentWindow.Sum(2,3)
转载于:https://www.cnblogs.com/dushuai/articles/2623336.html