Convertion to XP Issue (Corrupt VBA?)

DeutchBose

Board Regular
Joined
Mar 22, 2004
Messages
83
I have an Excel 97 Database that I'm trying to convert to XP. The database has only one form with some very simple vba behind it as well as a handful of macros. I've compiled the code in '97 and everything works just fine...All the the linked tables have been refreshed and are accurate.

I have all the correct odbc and drive settings on my xp box...but when I convert to XP, I get a "The Visual Basic for Applications project in this database is corrupt"...and I am unable to convert.

I tried changing the Reference Library from DAO 2.5/3.5 to DAO 3.6, but that didn't make a difference. I deleted the form entirely (along with its' vba code), but that didn't make a difference either.

Any ideas?
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
What happens if you open a new, blank database in Access XP, then import all your objects from the old database? This may be a way of getting around the conversion errors.
 
Upvote 0
Using Tools\References. Make sure the following is referenced:

DAO 2.5/3.5 compatibility Library
 
Upvote 0
It could be worth trying to Decompile the DB first. Work on a copy though! Check out this article for details

HTH

Peter
 
Upvote 0

Forum statistics

Threads
1,221,771
Messages
6,161,847
Members
451,723
Latest member
Rachetsely

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