Hi,
I have created a function which connects to excel DB and fecth records from excel file.
Now, I access this function in a SUB routine.Everyth ing is fine ,but after doing the process I want to free the objects (used in function).When I access this object and set to nothing then I get error message that "object required".
Even I have declared the objects using DIM on top of the page.but not working.
Regards,
"D"
I have created a function which connects to excel DB and fecth records from excel file.
Now, I access this function in a SUB routine.Everyth ing is fine ,but after doing the process I want to free the objects (used in function).When I access this object and set to nothing then I get error message that "object required".
Even I have declared the objects using DIM on top of the page.but not working.
Regards,
"D"
Comment