Excel VBA prompts "no project or database found" error Solution

Source: Internet
Author: User

Recently, I used Excel VBA to create a "supply, sales, and storage management system" for the purchasing department. As a result, the "Project or database cannot be found" error occurs on the computer of the purchasing department. Generally, this error occurs because the referenced project cannot be found or the referenced Object Library corresponding to the engineering language cannot be found. This error also occurs when you install the Office Lite version.

 

Solution:

1. Select the VBA project with an error in the VBE window. Shortcut: Alt + F11
2. In the main menu of VBA, choose tools> reference to open the reference dialog box.
3. Search for Missing items ..." , "Cannot find ..." , "Missing ..." And deselect the check box!
4. Generally, you can use step 1 to solve the problem. If the problem persists, find and select a reference similar to the missing entry in "available references" (except for the version number, if you have multiple versions with the same name, select the highest version.) If you still cannot solve the problem, it may be that the control or object library is missing on your computer. You need to download the control and register it, then return to the above steps to solve the problem!

 

Excel VBA cannot find project or library

 

 

Note: This article Reprinted from: http://www.pootor.com/excel-vba-excel-can-not-find-project-or-library/

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.