Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / June 2007

Tip: Looking for answers? Try searching our database.

Checking Dependence Before Deleting Worksheet

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
excel wonk < - 02 Jun 2007 07:07 GMT
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.
ShaneDevenshire - 02 Jun 2007 17:26 GMT
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.

Signature

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
[quoted text clipped - 5 lines]
> Any way to check this AND find out which cells are dependents used in
> other worksheets?  Thanks.
Dave Peterson - 02 Jun 2007 17:33 GMT
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.

> Before deleting any worksheet tab, I want to find out if there's
> anything that affects other worksheets.  Any way to check for this
[quoted text clipped - 5 lines]
> Any way to check this AND find out which cells are dependents used in
> other worksheets?  Thanks.

Signature

Dave Peterson


Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.