Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

XL2000: Reference to DAO 3.0 Changes to DAO 3.5 When File Opened


View products that this article applies to.

This article was previously published under Q213570

↑ Back to the top


Symptoms

When you open a workbook that references the Microsoft DAO 3.0 Object Library, you may find that the reference changes such that the workbook now references the Microsoft DAO 3.5 Object Library.

↑ Back to the top


Cause

The reference changes to DAO 3.5 if DAO 3.0 is not installed on your computer. However, if DAO 3.0 is installed, the project continues to reference DAO 3.0.

↑ Back to the top


More information

The References dialog box indicates that DAO 3.5 is referenced, however, DAO 3.0 is still the underlying reference. Therefore, if you save the workbook and open it on a computer with only DAO 3.0, it will maintain the reference to DAO 3.0.

If you would like your project to permanently reference DAO 3.5, follow these steps:
  1. In the Visual Basic Editor, click References on the Tools menu.
  2. Click to clear the Microsoft DAO 3.5 Object Library check box.
  3. Click to select the Microsoft DAO 3.5 Object Library check box again and click OK.
NOTE: If you permanently change the reference to DAO 3.5, your macro will produce an error when you run it on a computer that only has DAO 3.0 installed.

↑ Back to the top


Keywords: KB213570, kbprogramming, kbprb, kbpending

↑ Back to the top

Article Info
Article ID : 213570
Revision : 5
Created on : 10/11/2006
Published on : 10/11/2006
Exists online : False
Views : 211