OP reporting the results of the invistigation )
Actualy, I need to use Range.Find with whole match.
In VB it will be like this
cell = someRange.Find("something", LookAt:=xlWhole)
In Qt it will be like this
QAxObject* MainWindow::findCell(QAxObject* range, QString what) {
QAxObject* firstCell;
firstCell = range->querySubObject("Cells(1,1)");
return range->querySubObject("Find(const QString&, " +
"const QVariant&," +
"int, " +
"int)",
what,
firstCell->asVariant(),
-4163,
1);
}
...
cell = findCell(someRange, "something");
By the way.
Result: first part match
range->querySubObject("Find(const QString&, const QVariant&)", what, firstCell->asVariant());
Result: still first part match
range->querySubObject("Find(const QString&, const QVariant&, xlValues, xlWhole)", what, firstCell->asVariant());
Result: still first part match
range->querySubObject("Find(const QString&, const QVariant&, -4163, 1)", what, firstCell->asVariant());
Result: NULL
range->querySubObject("Find(const QString&, const QVariant&, const QString&, const QString&)", what, firstCell->asVariant(), "xlValues", "xlWhole"))
Result: NULL
range->querySubObject("Find(const QString&, const QVariant&, int, int)", what, firstCell->asVariant(), -1, 1);