Wrox Programmer Forums
|
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 6th, 2006, 02:37 PM
Registered User
 
Join Date: Jul 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default "File Not Found"

I've made a spreadsheet with macros built into it that I've been using for some time. Once, when I had another workbook open, I opened this one as well to multitask. I don't know what happened, but ever since then, whenever I open the first workbook it looks for that other workbook (which had nothing to do with the first), giving me a "File Not Found" whenever I open it. For the life of me, I can't find that file in any formula, or any other kind of link to that 2nd file. It's not in any macros either, or in Workbook_Open(). How do I find where this workbook is referencing this 2nd file, and get rid of it?

Thanks!
 
Old March 6th, 2006, 02:50 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 173
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Sounds like a rouge external link. Does they first file have the Links... option on the Edit menu greyed out or not?

If it is not greyed out then this is probably your problem. In the first instance I'd recommend look through all the range names in your spreadsheet (Ctrl + F3) as they are often a fertile source of obscure external links. If you have no joy with this I do have a fairly extensive bit of code I could post which will (normally!) root out external links.

 
Old March 7th, 2006, 12:17 AM
Registered User
 
Join Date: Jul 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks maccas! I took your suggestion and finally found where the link was hidden...in a hidden sheet. I extracted it with an addin I found at http://www.bmsltd.ie/MVP/Default.htm

I appreciate your help!





Similar Threads
Thread Thread Starter Forum Replies Last Post
File or assembly name not found cbath ASP.NET 1.0 and 1.1 Basics 1 July 12th, 2006 08:43 AM
Metadata file could not be found Arsi C# 0 September 1st, 2004 02:46 PM
File or assemly name not found caser85 BOOK: ASP.NET Website Programming Problem-Design-Solution 6 August 20th, 2004 03:26 PM
file not found Tere Crystal Reports 0 February 10th, 2004 12:43 PM
File not found hosefo81 BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 1 October 22nd, 2003 10:34 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.