Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
2 Label Options - Forms Object vs Control Box Object | Excel Discussion (Misc queries) | |||
Option button object proeprties or object not found in vba | Excel Programming | |||
Confusion about how the Window object fits into the Excel object model | Excel Programming | |||
returning pivottable object from a range object | Excel Programming | |||
Range object to Array object conversion | Excel Programming |