2012-07-21 54 views
1

比方說,我們有這樣的代碼如下我們是否需要在Excel .xlam插件中處理對象?

'Call service 
Set xmlhttp_ = CreateObject("MSXML2.xmlhttp") 
xmlhttp_.Open "GET", url, False 
xmlhttp_.send 
result = (xmlhttp_.responseText) 

sendRequest = result 

我們需要處置使用後?

+3

應該儘快,因爲它超出範圍自動設置。請參閱Matthew Curland在此處的回覆:https://groups.google.com/forum/?hl=zh-CN&fromgroups#!topic/microsoft.public.dotnet.languages.vb/3pw-TGc9PSo – 2012-07-21 21:48:19

+0

@Tim引用desigves是一個答案。我想我現在必須改變我的習慣... – 2012-07-21 22:34:32

+1

@Chris - 哈,是的,我認爲我從來沒有真正確定我自己,但看完後,似乎很清楚,它不是必需的... – 2012-07-21 23:08:50

回答

相關問題