Remove VBA Class Object

G

Guest

I'm working on a database that has a VBA Class Object for a switchboard form
that no longer exists. I've tried deleting the code and recompiling, but when
I tried to save the Access project, the save failed.

Now when I try to add code to the project that module alarms saying it can't
find the form.

Rich
 
N

Nikos Yannacopoulos

Rich,

Create a new, blank database and import all objects from the old one. This
should give you a "clean" copy of the old one, without the "rubbish".

HTH,
Nikos

"How to remove a VBA Class object?" <How to remove a VBA Class
[email protected]> wrote in message
news:[email protected]...
 
G

Guest

Thanks Nikos
Thats what I finally did. Kind of a bass-ackwards way to get rid of an
object. Only at Microsoft.
 
N

Nikos Yannacopoulos

Rich,

True, though once you know the trick, you're bound to do it again and again,
and it soon comes to feel the natural thing to do, so you don't think about
it that way anymore!

Nikos
 

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