VBA: Cant find project or librar

Appears OK to me but the error message " Cant find project or library." suggests it could possibly be the references in VBA.

In VBA select menu item Tools - References.

Ensure that the following are checked:-

Visual Basic for Applications

Microsoft Excel 12.0 Object Library

OLE Automation

Microsoft Office 12.0 Object Library

It there are any references displayed as Missing then scroll down to find the equivalent reference and check it and then uncheck the Missing one/s.

你可能感兴趣的:(VBA: Cant find project or librar)