harmatii
5 years agoOccasional Contributor
How to select Excel cells by cell name (ex: E5, B10..)?
Trying to select required cells in Excel using TestComplete, and it locates them by position on the screen:
#Clicks the 'Book1' object.
Aliases.EXCEL.wndXLMAIN.XLDESK.Book1.Click(264, 131)
#Clicks the 'Book1' object.
Aliases.EXCEL.wndXLMAIN.XLDESK.Book1.Click(69, 248)
Is there a way to locate them by their name (ex: E5, B10..)?
My solution was using COMobject and not gui so it wont work directly like that in gui.
By GUI to select a cell you have just to enter its address in the highligthed edit box below :