Delete object's VBA

jsic1210

Registered User.
Local time
Today, 17:46
Joined
Feb 29, 2012
Messages
188
Hi, I'm trying to rename/delete a form. When I do either, the VBA project for that form doesn't delete. It's causing problems when I open my database. How does one go about deleting an object and its VBA project?
Side note: Why does this website log me out so quickly?
 
Any other suggestions? I'm going through a major restructure of my database and will be deleting a lot of objects. It helps me to rename them with an "X" in front first to make sure I don't need them before I finally delete them.
 
If it's that big a rehash to be honest I would only import the things you want into a new database. That will ensure nothing nasty, corrupt or irrelevant gets in. Also a compact and repair might get rid of it.
 
I've done it before, I know it's simple. My issue is that I like to temporarily like to rename objects with an X before the name before officially deleting them. Since I'll be doing this with a lot of objects, I was just going to delete objects as I go.
But I think I will take everyone's advice and move everything when I'm finalizing the database. For now, I just created a new blank form keeping the original name.
Thanks for everyone's help!
 

Users who are viewing this thread

Back
Top Bottom