06-13-2012, 12:48 PM
Hi,
Though a lot of code is available for working with excel still want to clear a confusion as follows:
Now when i use the following code:
obj.worksheets.add or
obj.worksheets(1).add
It shows "Unknown runtime error"
Not able to understand why is it so.Can anybody clarify this?
Though a lot of code is available for working with excel still want to clear a confusion as follows:
Code:
Set obj=Createobject("Excel.application")
obj.visible=True
Now when i use the following code:
obj.worksheets.add or
obj.worksheets(1).add
It shows "Unknown runtime error"
Not able to understand why is it so.Can anybody clarify this?