... Мы не привыкли отступать! И расколоть его поможет киножурнал "Хочу Все Знать"! ;)
Здравствуйте, Peshuha, Вы писали:
P>Есть ли стандартные (екселовские) средства по этому вопросу?
Dependents Property
Returns a Range object that represents the range containing all the dependents of a cell. This can be a multiple selection (a union of Range objects) if there’s more than one dependent. Read-only Range object.
Remark
Note The Dependents property only works on the active sheet and can not trace remote references.
Example
This example selects the dependents of cell A1 on Sheet1.
Worksheets("Sheet1").Activate
Range("A1").Dependents.Select
Precedents Property
Returns a Range object that represents all the precedents of a cell. This can be a multiple selection (a union of Range objects) if there's more than one precedent. Read-only.
Example
This example selects the dependents of cell A1 on Sheet1.
Worksheets("Sheet1").Activate
Range("A1").Precedents.Select
Здравствуйте, Vi2, Вы писали:
Vi2>Здравствуйте, Peshuha, Вы писали:
P>>Есть ли стандартные (екселовские) средства по этому вопросу?
Vi2>[q]
Vi2>Dependents Property
Может что-то делаю не так ? Вот такое не работает:
Sub x222()
Cells(1, 1).Formula = "=rc[1]"
Worksheets("лист1").Activate
Range("A1").Dependents.Select '<<-- <Не найдено ни одной ячейки, удовлетворяющей указанным условиям.>
End Sub
... Мы не привыкли отступать! И расколоть его поможет киножурнал "Хочу Все Знать"! ;)
... Мы не привыкли отступать! И расколоть его поможет киножурнал "Хочу Все Знать"! ;)