Micro Focus QTP (UFT) Forums
Problem in creating excel object - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Problem in creating excel object (/Thread-Problem-in-creating-excel-object)



Problem in creating excel object - kriday - 07-13-2013

Hi All
I have created an excel object like this
Code:
Set Obj_Excel = CreateObject("Excel.Application")
but iam getting error like
Code:
ActiveX component can't create object: 'Excel.Application'

I don't know what to do
Please I need help on this
Thanks in advance


RE: Problem in creating excel object - Ankur - 07-13-2013

Some things to check -
  1. Check you have excel installed.
  2. Do you have a Click To Run(CTR) version of office 2010 on your system? if yes, download and install the full version (I don't think there would be any extra cost associated with that). CTR version can't be automated.