Hi Guys ,
I am using windows 10 and TC 12.5 version .
In my system I have opened a blank excel sheet and via Test complete I initialize excel via the below code :
if(MsExcel != null) return;
MsExcel = Sys["OleObject"]("Excel.Application");
return MsExcel;
I see in object browser that a new excel is being opened instead of identifying the existing opened Excel .
In windows 7 and TC version 12.20 I don't see this issue .
Can someone help me out here
I wonder to know, What purpose you are using the OleObject?
If you are using to read the data then you can use DDT driver
LinkedIn | CG-VAK Software | Bitbucket | shankarr.75@gmail.com
“You must expect great things from you, before you can do them”I am actually writing data on the excel.
Hi,
https://smartbear-cc.force.com/portal/KbArticleViewer?name=Get-COM-reference-for-a-running-Excel-ins... should provide you with the solution.
Subject | Author | Latest Post |
---|---|---|