Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi all,
I have made a macro to perform an operation on all cells that dependents of a specified cell. I want to exit the macro when the specified cell has no dependents. Whatever I try causes an error. Please could you give me some ideas how to achieve this effect? Here's an example of what I tried: If masterCell.DirectDependents.Count = 0 Then Exit Sub End If but even the count property is invalid when the cell has no directdependents. Thanks, smu |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Finding Same Row Value | Excel Programming | |||
Finding last used | Excel Worksheet Functions | |||
Finding a value | Excel Programming | |||
Finding Last Row | Excel Programming | |||
Finding a sum | Excel Programming |