Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How to check if an excel sheet has external references.


Hi everybody, i want to know how to do this. Suppose there is a work
sheet by name WrkSheet1 in WorkBook1 and there is another work sheet by
name WrkSheet4 in WorkBook2. WrkSheet1 is linked to WrkSheet4( WrkSheet4
uses data from WrkSheet1 as input). How do i find out if WrkSheet1 has
any dependencies or external references. I want to do this
*Programmatically using VB*.

I apologise if this has already been discussed. If it has already been
discussed plz let me know as to where i can find it.

With Regards,
Daffo.


--
Daffo
------------------------------------------------------------------------
Daffo's Profile: http://www.excelforum.com/member.php...o&userid=37472
View this thread: http://www.excelforum.com/showthread...hreadid=571337

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default How to check if an excel sheet has external references.

If you're lucky, you could look through all the formulas looking for .xls or
..xls].

But those links can hide in mysterious places.

I'd get a copy of Bill Manville's FindLink program:
http://www.oaltd.co.uk/MVP/Default.htm

To see if the code found everything.

Daffo wrote:

Hi everybody, i want to know how to do this. Suppose there is a work
sheet by name WrkSheet1 in WorkBook1 and there is another work sheet by
name WrkSheet4 in WorkBook2. WrkSheet1 is linked to WrkSheet4( WrkSheet4
uses data from WrkSheet1 as input). How do i find out if WrkSheet1 has
any dependencies or external references. I want to do this
*Programmatically using VB*.

I apologise if this has already been discussed. If it has already been
discussed plz let me know as to where i can find it.

With Regards,
Daffo.

--
Daffo
------------------------------------------------------------------------
Daffo's Profile: http://www.excelforum.com/member.php...o&userid=37472
View this thread: http://www.excelforum.com/showthread...hreadid=571337


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How to check if an excel sheet has external references.

You can press Ctrl+~ to display all the formulas in text.Pressing it again
would retrieve the original formulas
In case you have references to an external workbook Excel would prompt you to
resolve external links.Else you can do this by going to Edit-Links and then
following the options for which you may find the following post useful.
http://xlmaster.blogspot.com/2006/08/edit-menu.html

If you want to do this in VBA, then you must do it by checking whether each
cell contains the workbook name

Daffo wrote:
Hi everybody, i want to know how to do this. Suppose there is a work
sheet by name WrkSheet1 in WorkBook1 and there is another work sheet by
name WrkSheet4 in WorkBook2. WrkSheet1 is linked to WrkSheet4( WrkSheet4
uses data from WrkSheet1 as input). How do i find out if WrkSheet1 has
any dependencies or external references. I want to do this
*Programmatically using VB*.

I apologise if this has already been discussed. If it has already been
discussed plz let me know as to where i can find it.

With Regards,
Daffo.


--
Message posted via http://www.officekb.com

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How to check if an excel sheet has external references.


Hi thank you for replying. I will try out what you have mentioned and
get back .


--
Daffo
------------------------------------------------------------------------
Daffo's Profile: http://www.excelforum.com/member.php...o&userid=37472
View this thread: http://www.excelforum.com/showthread...hreadid=571337

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
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
Combining data from cells from several excel sheets to a new sheet Rik Excel Discussion (Misc queries) 4 February 22nd 06 09:16 AM
Getting Excel Data from One Sheet to Another.... Robin Excel Discussion (Misc queries) 2 April 21st 05 01:15 PM
External data references in EXCEL 2002 JSPAIN Excel Discussion (Misc queries) 0 April 8th 05 03:25 PM
How do you locate External References in an Excel Workbook Iain Excel Discussion (Misc queries) 2 February 3rd 05 01:05 AM


All times are GMT +1. The time now is 11:49 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"