Word VBA project cannot open DB

Posted on 2011-03-23
Medium Priority
Last Modified: 2012-05-11
Good day everyone. I have a project that was working fine. I made some slight alterations (changing path of the access database) and now every time I try to run it, it stops at opening opening the database. Any idea why? The location was changed to a different folder on the same server that is shared (just like where it as located prior). Below is a screenshot.
Question by:sscal
LVL 77

Accepted Solution

GrahamSkan earned 1200 total points
ID: 35201493
We can't see where the variable Db is defined.

My guess is that you have lost the Reference to the Microsoft DAO object library.

Author Comment

ID: 35201669
I totally orgot about the libraries. The coding for the project was copied over to a new macro on a different (test) document and I forgot to add the proper libraries. That part is working now but I am getting different error now. Any ideas? This is on a Windows Vista 64bit machine in case that makes a difference.

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
Today, unlike web development, the mobile landscape is complex enough for a software engineer and Android is posing more challenging environment thanks to its fragmentation issues on hardware and software fronts.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
Six Sigma Control Plans

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question