ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Links and Linking in Excel (https://www.excelbanter.com/links-linking-excel/)
-   -   flagging cells that have been referenced (https://www.excelbanter.com/links-linking-excel/160836-flagging-cells-have-been-referenced.html)

reedspencer

flagging cells that have been referenced
 
Is there anyway to flag a cell in worksheet 'questions' that has been referenced in worksheet 'test'. Example: In worksheet 'test', cell D3, I enter =questions!C15. I want to know that cell C15 has been used in worksheet 'test'.

Bill Manville

flagging cells that have been referenced
 
You could run this macro:

Sub ShowUsed()
Dim C As Range
For Each C In ActiveSheet.UsedRange.Cells
C.ShowDependents
Next
End Sub

To remove the arrows:
Tools Formula Auditing Remove All Arrows


Bill Manville
MVP - Microsoft Excel, Oxford, England
No email replies please - respond to newsgroup


reedspencer

Quote:

Originally Posted by reedspencer (Post 565435)
Is there anyway to flag a cell in worksheet 'questions' that has been referenced in worksheet 'test'. Example: In worksheet 'test', cell D3, I enter =questions!C15. I want to know that cell C15 has been used in worksheet 'test'.

I will try it and see how things go. Thank you.

reedspencer

The macro worked great. Thanks for the assistance.
Reed Spencer


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com