Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Michelle
 
Posts: n/a
Default Tracing dependents - Excel 2003

Is there a way that I can highlight all the cells in a worksheet that contain
values that are used by formulas in other worksheets/workbooks?
--
Michelle
  #2   Report Post  
Ken Wright
 
Posts: n/a
Default

Perhaps this, although it will show all dependents on-sheet as well and not
just those off-sheet

Sub ShowDeps()

Dim myrng As Range
Dim myrng1 As Range
Dim myrng2 As Range

With ActiveSheet
Set myrng1 = Intersect(.UsedRange, _
.UsedRange.SpecialCells(xlCellTypeFormulas, 23))
Set myrng2 = Intersect(.UsedRange, _
.UsedRange.SpecialCells(xlCellTypeConstants, 23))
End With

Set myrng = Union(myrng1, myrng2)

For Each cel In myrng
cel.ShowDependents
Next cel
End Sub

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

----------------------------------------------------------------------------
It's easier to beg forgiveness than ask permission :-)
----------------------------------------------------------------------------

"Michelle" wrote in message
...
Is there a way that I can highlight all the cells in a worksheet that

contain
values that are used by formulas in other worksheets/workbooks?
--
Michelle



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
quattro converter for Excel 2003 cntaylor Excel Discussion (Misc queries) 4 April 30th 07 07:08 PM
Opening DBF files with Excel 2003 via Windows Explorer ? David Purdy Setting up and Configuration of Excel 2 May 3rd 06 09:21 PM
sharing/using/saving Excel 2002 files in Excel 2003 maze2009 Excel Discussion (Misc queries) 0 January 20th 05 07:27 PM
Excel 2003 back to Excel 2002 Pete Carr Excel Discussion (Misc queries) 3 December 27th 04 08:11 AM
Excel 2000 file when opened in Excel 2003 generates errors? Doug Excel Discussion (Misc queries) 13 December 25th 04 10:20 PM


All times are GMT +1. The time now is 07:15 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"