469,290 Members | 1,824 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,290 developers. It's quick & easy.

How to delete empty "Microsoft Access Class Object"

Hi.

This question might seem trivial, but I didn't find any solution.

By error, I created some event for a subform (subfrmTest). Hence, an
entry in the VBA editor list was made (Form_subfrmTest) and some code
was inserted to it. So I deleted the code, but the entry in the VBA
editor remained (Form_subfrmTest). I didn't find any mean to delete it.
As I said already, the subform doesn't contain any code (any more).

How can I delete the entry in the VBA editor?

TIA

--
Georges
Nov 12 '05 #1
4 15198
Georges Heinesch <ne**@geohei.lu> wrote in news:40**********@news.vo.lu:
Hi.

This question might seem trivial, but I didn't find any solution.

By error, I created some event for a subform (subfrmTest). Hence, an
entry in the VBA editor list was made (Form_subfrmTest) and some code
was inserted to it. So I deleted the code, but the entry in the VBA
editor remained (Form_subfrmTest). I didn't find any mean to delete it.
As I said already, the subform doesn't contain any code (any more).

How can I delete the entry in the VBA editor?

TIA


Right Click and choose Remove?

--
Lyle
(for e-mail refer to http://ffdba.com/contacts.htm)
Nov 12 '05 #2
On Feb 02 2004, 07:19 am, Georges Heinesch <ne**@geohei.lu> wrote in
news:40**********@news.vo.lu:
Hi.

This question might seem trivial, but I didn't find any solution.

By error, I created some event for a subform (subfrmTest). Hence, an
entry in the VBA editor list was made (Form_subfrmTest) and some code
was inserted to it. So I deleted the code, but the entry in the VBA
editor remained (Form_subfrmTest). I didn't find any mean to delete it.
As I said already, the subform doesn't contain any code (any more).

How can I delete the entry in the VBA editor?


Set the HasCode property of the form to False. That will get rid of any
code behind form.

--
(remove a 9 to reply by email)
Nov 12 '05 #3
Lyle Fairfield wrote:
Right Click and choose Remove?


"Remove subfrmTest" ist ghosted.
Not possible to select (why)?

--
Georges
Nov 12 '05 #4
Dimitri Furman wrote:
How can I delete the entry in the VBA editor?


Set the HasCode property of the form to False. That will get rid of any
code behind form.


Yes, that worked! Thanks a lot!
BTW, it's calles "Has Module".

--
Georges
Nov 12 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

24 posts views Thread by Hung Jung Lu | last post: by
reply views Thread by Gianni Mariani | last post: by
5 posts views Thread by Rob | last post: by
10 posts views Thread by JD | last post: by
5 posts views Thread by Frederick Gotham | last post: by
1 post views Thread by Fresno Bob | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.