Database Crashing - Missing VBA Modules

rage300

New Member
Joined
Feb 25, 2005
Messages
12
All,

Could really use some help. I have an access database that is used by 4-5 users on a shared drive. It is loaded with VBA and for some reason it continues to get corrupted. The VBA all of a sudden disappears. It was 2003 Access version and is sometimes used by people who have 2007. Could that be the reason? Any thoughts on where I should investigate?

Thanks in advance,

Jason
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
The database should be SPLIT (frontend/backend with the backend on the server and a COPY of the frontend on EACH user's machine). Nobody should be opening a shared file on the server. Doing so, is a guarantee of corruption. It isn't a matter of IF it will corrupt but WHEN.

So, read this and you'll need to move to a split db and a fe on each user's machine.
 
Upvote 0
The VBA all of a sudden disappears. It was 2003 Access version and is sometimes used by people who have 2007.
Absolutely! This was the biggest source of corruption in our office - users on different versions of Access being in the same database at the same time. That was when we started to split our databases, like Bob recommends. Lo and behold, we have not had any corruption problems since we did that.
 
Upvote 0
Many thanks for the quick responses. The challenge I have is that this is part of a replicated DB and this is happening at one of the replicas. Any idea if that will present a problem?

Jason
 
Upvote 0
Many thanks for the quick responses. The challenge I have is that this is part of a replicated DB and this is happening at one of the replicas. Any idea if that will present a problem?

Jason
Does this "replica" have forms, reports, macros or modules in it? If so, you have an even bigger problem. Replication should ONLY be used on tables and maybe queries, but NOTHING ELSE.

You might need the resources here.
 
Upvote 0

Forum statistics

Threads
1,214,670
Messages
6,120,831
Members
448,990
Latest member
rohitsomani

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top