Re: Dependents of a formula
- From: "Clif McIrvin" <clare.moe@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 29 Aug 2008 12:54:24 -0500
"Bob" <someonw@xxxxxx> wrote in message
news:%23AQz82fCJHA.2476@xxxxxxxxxxxxxxxxxxxxxxx
Hi Everyone:
In excel VBA, is there a way to get the cell references that a formula
contains. For example, if in cell A1, I have the following formula:
=2*B1+C3-x
where x is a defined name (referencing cell D5).
So, for cell A1, I want the program to return to me B1, C3, and x (or
D5).
I would appreciate a small code for this. Thanks for all your help.
Bob
I've never used this, but look at the Excel VBA help on DirectDependents
varMyTemp = Range("A1").DirectDependents.Address
might do what you want.
--
Clif
Still learning Access 2003
.
- References:
- Dependents of a formula
- From: Bob
- Dependents of a formula
- Prev by Date: Dependents of a formula
- Next by Date: Re: forward and backward slide transitions .. programming differen
- Previous by thread: Dependents of a formula
- Index(es):
Relevant Pages
|