View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Derek[_6_] Derek[_6_] is offline
external usenet poster
 
Posts: 15
Default Precedents Property

I am trying to use the following code to get a list of all
the precedents of cell A1 on Sheet1:

Sub sbGetPrecedents()
Worksheets("Sheet1").Activate
MsgBox Range("A1").Precedents.Address
End Sub

It seems to create a list of all the precedents that are
on Sheet1, but it does not include the precedents that are
on other worksheets. Does anybody have a suggestion how I
can get these as well??? TIA