473,396 Members | 1,900 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Greyed out Tools, References option in VBA

Please could someone offer some advice regarding adding references to
an Access database?

I tried to open a project a few days ago sent to me by someone whose
developer had left the company. I found that I had a reference problem
and went to the usual Tools, References place to fix it. The
References option was greyed out and as I have never seen this happen
before, after trying various things, searching here for an answer etc.
gave up!!

Today I have made some changes to one of my own databases where I have
to prioritise DAO over ADO; I've done this numerous times. Again, the
References option on the menu is greyed out. I've searched here and
found a couple of posts relating to this issue. In particular this
one...
Open the Debug Window (Ctrl-G) and on the Tools menu, check
references. Sounds like your ADO reference is not set.

OK, while under the run-time debugger, the "References" >>options was greyed out. However, checking my Access and >>Computer #2's
Access under design conditions revealed that >>both copies appear to
have identical references checked

I have tried what is suggested above and it is still unavailable.

Another post asks the question...
- Is it possible to reactivate VBA at the local machine?

(Tools|References
is greyed out)

Unfortunately the respondent doesn't answer that question.

I haven't changed the configuration of my machine to "deactivate VBA",
not even sure what that means but I've not had problems in the past.

I've made sure that the "Immediate" window is open; this seems to be
mooted as a possible problem in some posts.

Any ideas?

Regards

Michelle
Nov 12 '05 #1
2 32128
TC
I know that you can not change the references in an MDE database. I don't
know whether this causes the Tools : References option to be disabled (and I
don't have Access here to check). Could that be the expanation?

HTH,
TC
"Michelle Collier-Moore" <mi******************@hotmail.com> wrote in message
news:68**************************@posting.google.c om...
Please could someone offer some advice regarding adding references to
an Access database?

I tried to open a project a few days ago sent to me by someone whose
developer had left the company. I found that I had a reference problem
and went to the usual Tools, References place to fix it. The
References option was greyed out and as I have never seen this happen
before, after trying various things, searching here for an answer etc.
gave up!!

Today I have made some changes to one of my own databases where I have
to prioritise DAO over ADO; I've done this numerous times. Again, the
References option on the menu is greyed out. I've searched here and
found a couple of posts relating to this issue. In particular this
one...
Open the Debug Window (Ctrl-G) and on the Tools menu, check
references. Sounds like your ADO reference is not set.

OK, while under the run-time debugger, the "References" >>options was greyed out. However, checking my Access and >>Computer #2's
Access under design conditions revealed that >>both copies appear to
have identical references checked

I have tried what is suggested above and it is still unavailable.

Another post asks the question...
- Is it possible to reactivate VBA at the local machine?

(Tools|References
is greyed out)

Unfortunately the respondent doesn't answer that question.

I haven't changed the configuration of my machine to "deactivate VBA",
not even sure what that means but I've not had problems in the past.

I've made sure that the "Immediate" window is open; this seems to be
mooted as a possible problem in some posts.

Any ideas?

Regards

Michelle

Nov 12 '05 #2
TC wrote:
I know that you can not change the references in an MDE database. I don't
know whether this causes the Tools : References option to be disabled (and I
don't have Access here to check). Could that be the expanation?


Another possibility is that code is still running. Try selecting Run, Reset
from the menu in the VB editor (or click the square VCR-style icon).

--
'-------------------------------
' John Mishefske
'-------------------------------

Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Scott Simonson | last post by:
When in the code editor I select TOOLS | REFERENCES I get a list of references. Mainly DLLs that are accessible. Well I assume that they are all accessible. Besides the ones I have to use or might...
2
by: Mike Turco | last post by:
Why is it that the references I set on my computer, under tools|references, don't carry through to other computers? For example, if I check "Microsoft DAO 3.6 Object Library", why don't those to...
4
by: Karl Irvin | last post by:
I need to convert a short Access module to regular VB 5 program. I'm not familiar with VB. In Access I have Public qbXMLCOM As QBXMLRP2Lib.RequestProcessor2 and at Tools>References there is...
5
by: ken | last post by:
Hi, I'm using a reference dll file for my database. Its FEBE so the front ends need to have the reference. How can I have the front end automatically detect the reference if its in the same...
4
by: x taol | last post by:
i want to uncheck windows in taskbar using vba. *** Sent via Developersdex http://www.developersdex.com ***
1
by: Karl | last post by:
Using VBA can you get a list of Available References? I can get a list of selected References but I would like to get the entire list you see when you click Tools>References and scroll down.
4
by: SpaceMarine | last post by:
hello, i am trying to figure something out. the facts: - i have an Access 2000 app that ive converted to Access 2007 (windows Vista) - it uses several external references, DLLs and an EXE....
0
by: mttc | last post by:
I'm about chage the font for editor. I open: tools->option->enviroment- but I see only 6 item on combo: "Show setting for" where all the items?
2
by: timmg | last post by:
Situation: Single .mdb developed in A97 last Centurary, very stable and minimal enhancements in the last 3 years. Previously converted to A2000 Test conversion to 2007 on Vista works except...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.