Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hallo,
i want to know if it's possible to see if the cell is already referenced by another cell. For example: I have a cell A1. Then I have a cell B1=A1+1 I want to know if there is some way that shows me that cell A1 is referenced in cell B1. thanks in advance. Rg, Peter |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
See the Precedents and DirectPrecedents properties. E.g.,
Debug.Print Range("A1").Precendents.Address -- Cordially, Chip Pearson Microsoft Most Valuable Professional Excel Product Group, 1998 - 2008 Pearson Software Consulting, LLC www.cpearson.com (email on web site) "peter" wrote in message ... Hallo, i want to know if it's possible to see if the cell is already referenced by another cell. For example: I have a cell A1. Then I have a cell B1=A1+1 I want to know if there is some way that shows me that cell A1 is referenced in cell B1. thanks in advance. Rg, Peter |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sub Macro1()
For Each r In ActiveSheet.UsedRange If r.HasFormula Then r.ShowPrecedents End If Next End Sub will display all the references in the worksheet -- Gary''s Student - gsnu2007d "peter" wrote: Hallo, i want to know if it's possible to see if the cell is already referenced by another cell. For example: I have a cell A1. Then I have a cell B1=A1+1 I want to know if there is some way that shows me that cell A1 is referenced in cell B1. thanks in advance. Rg, Peter |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
bold text of referenced cell show in formula cell | Excel Worksheet Functions | |||
Return Results of a cell based on cell referenced in a cell | Excel Worksheet Functions | |||
Change Text Color in one cell based upon entry in referenced cell | Excel Discussion (Misc queries) | |||
The absolute referenced cell does not move when source cell moves | Excel Worksheet Functions | |||
How do I double click a cell and jump to cell's referenced cell | Excel Discussion (Misc queries) |