'Compile' is dimmed

K

Karen

I started to compile my VBA code and it stopped on some code associated with
a form that I had added for testing purposes. I deleted the form and, since
then, the 'Compile' command on the Debug menu is dimmed. I've restarted the
database several times and rebooted the computer. Any ideas?

Karen
 
J

Jeff

Karen,

Honestly I have no idea what may be causing this, but as
a possible solution is maybe some currupt DLL files. If
you have the CD, try uninstalling & then Re-install MS
Office.
Its not that time consuming to do so...might fix the
problem.

Jeff
 
M

Marshall Barton

Karen said:
I started to compile my VBA code and it stopped on some code associated with
a form that I had added for testing purposes. I deleted the form and, since
then, the 'Compile' command on the Debug menu is dimmed. I've restarted the
database several times and rebooted the computer.


This sounds like VBA corruption. Make a backup before you
do anything else.

I suggest that you try to decompile your app. See:
http://www.mvps.org/access/bugs/bugs0008.htm

If that doesn't do it, there are several other suggestions
at:
http://www.granite.ab.ca/access/corruptmdbs.htm
 
K

Karen

Thanks Jeff,

I tried that and it didn't change my problem.

Karen

Karen,

Honestly I have no idea what may be causing this, but as
a possible solution is maybe some currupt DLL files. If
you have the CD, try uninstalling & then Re-install MS
Office.
Its not that time consuming to do so...might fix the
problem.

Jeff
 
K

Karen

Thanks Marsh,

I backed up the database, held my breath and did a compact and repair, my
'compile' is back now.

Karen

Karen said:
I started to compile my VBA code and it stopped on some code associated
with
a form that I had added for testing purposes. I deleted the form and,
since
then, the 'Compile' command on the Debug menu is dimmed. I've restarted
the
database several times and rebooted the computer.


This sounds like VBA corruption. Make a backup before you
do anything else.

I suggest that you try to decompile your app. See:
http://www.mvps.org/access/bugs/bugs0008.htm

If that doesn't do it, there are several other suggestions
at:
http://www.granite.ab.ca/access/corruptmdbs.htm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top