01-29-2011, 11:18 PM
Hello All,
I'm a newbie in QTP and scripting. After looking at some examples over internet in accessing excel through VBscript, I started writing code like below
but ended up with the error 'ActiveX component can't create object: 'Excel.application'". I know that the issue is with some missing or unregistered dlls in the system, as I was successful in creating InternetExplorer object.
I'm using Windows 7 Home edition and Microsoft Home 2010 edition. Can someone help me to find the correct dll and the process to registe the same.
Thanks
I'm a newbie in QTP and scripting. After looking at some examples over internet in accessing excel through VBscript, I started writing code like below
Code:
CreateObject("Excel.Application")
but ended up with the error 'ActiveX component can't create object: 'Excel.application'". I know that the issue is with some missing or unregistered dlls in the system, as I was successful in creating InternetExplorer object.
I'm using Windows 7 Home edition and Microsoft Home 2010 edition. Can someone help me to find the correct dll and the process to registe the same.
Thanks