Compile Error Cannot Find Project Or Library Excel 2007
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss compile error cannot find project or library excel 2010 the workings and policies of this site About Us Learn more about
Compile Error Cannot Find Project Or Library Excel 2013
Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow can't find project or library excel 2016 Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each
Excel Can't Find Project Or Library Crash
other. Join them; it only takes a minute: Sign up “Can't find Project or Library” for standard VBA functions up vote 36 down vote favorite 11 So I'm having to run someone else's excel app on my PC, and I'm getting "Can't find Project or Library" on standard functions such as date, format, hex, mid, etc. Some research compile error can't find project or library access 2007 indicates that if I prefix these functions with "VBA." as in "VBA.Date" then it'll work fine. Webpages suggest it has to do with my project references on my system, whereas they must be ok on the developer's system. I'm going to be dealing with this for some time from others, and will be distributing these applications to many others, so I need to understand what's wrong with my excel setup that I need to fix, or what needs to be changed in the xls file so that it'll run on a variety of systems. I'd like to avoid making everyone use "VBA." as an explicit reference, but if there's no ideal solution I suppose that's what we'll have to do. How do I make "VBA." implicit in my project properties/references/etc? vba excel-vba namespaces reference share|improve this question edited Jun 29 '12 at 17:57 JimmyPena 5,97932844 asked Feb 3 '09 at 14:05 Adam Davis 59k42210303 are you developing in one version of excel and distributing to users using a different version? –Ru
360 games PC games
Compile Error Can't Find Project Or Library Excel 2016
Windows games Windows phone games Entertainment All Entertainment
Can't Find Project Or Library Access 2013
Movies & TV Music Business & Education Business Students & educators missing microsoft office 16.0 object library Developers Sale Sale Find a store Gift cards Products Software & services Windows Office Free downloads & security Internet http://stackoverflow.com/questions/507191/cant-find-project-or-library-for-standard-vba-functions Explorer Microsoft Edge Skype OneNote OneDrive Microsoft Health MSN Bing Microsoft Groove Microsoft Movies & TV Devices & Xbox All Microsoft devices Microsoft Surface All Windows PCs & tablets PC accessories Xbox & games Microsoft Lumia All https://support.microsoft.com/en-us/kb/840926 Windows phones Microsoft HoloLens For business Cloud Platform Microsoft Azure Microsoft Dynamics Windows for business Office for business Skype for business Surface for business Enterprise solutions Small business solutions Find a solutions provider Volume Licensing For developers & IT pros Develop Windows apps Microsoft Azure MSDN TechNet Visual Studio For students & educators Office for students OneNote in classroom Shop PCs & tablets perfect for students Microsoft in Education Support Sign in Cart Cart Javascript is disabled Please enable javascript and refresh the page Cookies are disabled Please enable cookies and refresh the page CV: {{ getCv() }} English (United States) Terms of use Privacy & cookies Trademarks © 2016 Microsoft
How do I resolve the error "Compile Error: Can't find project or library?" How do I resolve the error "Compile Error: Can't find project or library?"Article:KB0012541 Published:2012-03-16 Last modified:2016-09-23 How do I resolve the error "Compile Error: Can't find project or library?" Liberty Information Services and the IT HelpDesk are aware of an issue where, https://liberty.service-now.com/kb_view_customer.do?sysparm_article=KB0012541 when using a Microsoft Access or Excel document that integrates buttons or functions that need Visual Basic for Applications (VBA) or Macros to perform their duty, some users may encounter the following error message: "Compile Error: Can't find project or library." What causes this error? This error message usually is caused by the user's Microsoft Access or Excel program having a reference find project to a type or object library that is missing, rendering the program not able to use Visual Basic or Macro based buttons and functions properly. How can this issue be solved? Please follow these steps to resolve the issue: Open the Microsoft Access or Excel file that is giving you the error message. Make sure the Excel sheet or Data sheet that has find project or the buttons or functions in question is selected. Simultaneously press the ALT and F11 keys on your keyboard to switch to the Visual Basic Editor in a new window (as seen below). In the new Visual Basic Editor window, click on the Tools menu at the top of the screen, and then click References... A References dialogue box will display on the screen. A missing type or object library is indicated by "MISSING:" followed by the name of the missing type or object library (an example is MISSING: Microsoft Excel 10.0 Object Library, as seen below). If there is a check mark in the check box next to the missing type or object library, then un-check the check box. Click OK. Exit the Visual Basic Editor. Save the original Access or Excel file. Try using the buttons or functions in question that previously didn't work and they should now work normally. For further information, please consult: https://support.microsoft.com/en-us/kb/282331FeedbackPlease type feedback before submittingYour feedback has been submitted, thank youPlease submit descriptive feedback after flagging an article, or it will not be modifiedSubmitPermalink: Was this helpful?Thank youYesNoRate this article