PC Review


Reply
Thread Tools Rate Thread

Checking Dependence Before Deleting Worksheet

 
 
excel wonk
Guest
Posts: n/a
 
      2nd Jun 2007
Before deleting any worksheet tab, I want to find out if there's
anything that affects other worksheets. Any way to check for this
short of clicking every cell and using "Trace Dependents"?

I know the spreadsheet gives message that deletion may affect other
data, continue?

Any way to check this AND find out which cells are dependents used in
other worksheets? Thanks.

 
Reply With Quote
 
 
 
 
=?Utf-8?B?U2hhbmVEZXZlbnNoaXJl?=
Guest
Posts: n/a
 
      2nd Jun 2007
Hi,

There is not built in command to do this automatically for all sheets. You
can do it manually for each sheet at a time by using the Edit,Find command
and searching for something like =Sheet1! The real problem with this
approach is that there are other things than simple formulas that may
reference a sheet - charts, and range names, for example.

You could write a VBA macro.

You could also Google this topic, I'm sure someone has created an add-in to
do this or there is code available.


--
Cheers,
Shane Devenshire


"excel wonk >" wrote:

> Before deleting any worksheet tab, I want to find out if there's
> anything that affects other worksheets. Any way to check for this
> short of clicking every cell and using "Trace Dependents"?
>
> I know the spreadsheet gives message that deletion may affect other
> data, continue?
>
> Any way to check this AND find out which cells are dependents used in
> other worksheets? Thanks.
>
>

 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      2nd Jun 2007
One thing I do is to move (not copy) the worksheet to a new workbook. Then I
look for links to that new workbook.

I'd get a couple of tools to help find those links:

Bill Manville's FindLink program:
http://www.oaltd.co.uk/MVP/Default.htm

And Jan Karel Pieterse's (with Charles Williams and Matthew Henson) Name
Manager:

You can find it at:
NameManager.Zip from http://www.oaltd.co.uk/mvp

=====
Note that this isn't 100% effective. It doesn't do anything with any VBA code
that could be relying on that worksheet.



"excel wonk <" wrote:
>
> Before deleting any worksheet tab, I want to find out if there's
> anything that affects other worksheets. Any way to check for this
> short of clicking every cell and using "Trace Dependents"?
>
> I know the spreadsheet gives message that deletion may affect other
> data, continue?
>
> Any way to check this AND find out which cells are dependents used in
> other worksheets? Thanks.


--

Dave Peterson
 
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
Checking Dependence Before Deleting Worksheet excel wonk Microsoft Excel Worksheet Functions 2 2nd Jun 2007 05:33 PM
deleting values in a worksheet without deleting the formulas =?Utf-8?B?cGF0dGk=?= Microsoft Excel Worksheet Functions 1 28th Oct 2005 09:49 PM
How to do non dependence on database vendor? Brett Microsoft C# .NET 25 17th May 2005 04:08 PM
circular dependence =?Utf-8?B?TGVzbGll?= Microsoft Dot NET 1 22nd Nov 2004 04:13 AM
How to get the dependence of a assembly? Yee Microsoft C# .NET 0 25th Jul 2003 03:04 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:16 PM.