06-13-2012, 01:02 PM
Hi,
Set obj=Createobject("Excel.application")
After this statement, check
Set obj=Createobject("Excel.application")
After this statement, check
Code:
If obj = nothing then
read error!
end if