Browser.Document.frames工作在另一台计算机上

我有一个Excel VBA工作在一台计算机上,但在其他计算机上出现错误。 这是我使用的代码:

Set Browser = New InternetExplorer Browser.navigate "http://core.purus.se/PurusWeb/common/frameset.aspx? Profile=Sweden&NamedPath=Golvbrunnar" Do While Browser.Busy: DoEvents: Loop: Do Until Browser.readyState = READYSTATE_COMPLETE: DoEvents: Loop Sleep 100 Browser.Visible = True Set Document = Browser.Document.frames("Main").Document Set htmlColl = Document.getElementsByTagName("a") 

这是错误信息:“… -2147352319(80020101)…对象'JScriptTypeInfo'中的'frames'…”

我得到行上的错误:“设置文档….”

它运行的计算机有WindowsVista 32位,InternetExplorer 9和MS Office 2007.得到错误的计算机有Windows7 64位,InternetExplorer 11和MS Office 2010。