set Object = Nothing
I see quite often Excel Sub's with following code
Sub mySub()
Dim myObject as Object
set myObject = CreateObject("www.xx")
...
(some code)
...
set myObject = Nothing
end Sub
What is the use of setting a local variable to Nothing, as it will be
destryed by End Sub ?
Cheers,
--
AP
|