PC Review


Reply
Thread Tools Rate Thread

cell already referenced

 
 
peter
Guest
Posts: n/a
 
      18th Feb 2008
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 With Quote
 
 
 
 
Chip Pearson
Guest
Posts: n/a
 
      18th Feb 2008
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" <(E-Mail Removed)> wrote in message
news:b5cd625b-c5c8-4165-be4c-(E-Mail Removed)...
> 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 With Quote
 
Gary''s Student
Guest
Posts: n/a
 
      18th Feb 2008
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 With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
bold text of referenced cell show in formula cell zabcikranch Microsoft Excel Worksheet Functions 1 2nd Feb 2010 07:42 PM
Return Results of a cell based on cell referenced in a cell Drew Microsoft Excel Worksheet Functions 4 3rd Sep 2009 06:19 PM
Change Text Color in one cell based upon entry in referenced cell Tee Microsoft Excel Misc 3 12th Sep 2008 10:07 PM
The absolute referenced cell does not move when source cell moves =?Utf-8?B?am9obmM=?= Microsoft Excel Worksheet Functions 2 8th May 2006 06:33 PM
How do I double click a cell and jump to cell's referenced cell =?Utf-8?B?SmVycnlKdWljZQ==?= Microsoft Excel Misc 2 10th Sep 2005 10:24 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:03 PM.