Excel VBA apps inconsistency - urent help needed

info363

New Member
Joined
Mar 17, 2002
Messages
1
Hi,
I have a simple MS Excel (97) macro application used for validating data and to export to MS Access 97 database. This VBA macro runs well in some PCs but not in others. The OS is Win 98 and Apps is MS Office 97. The error messages in PCs where it is not running are:
"Compile error in hidden module: gMod" in some other machines I get the message
"Unable to connect to database"
This is very strange as the same Excel macro is running smoothly in some PCs with the same type of OS Win 98 and Office 97 apps. Have checked the add-ins under tools and there seems to be no problem with it.

Please advise if any specific ADO or Object libraries that I should install in machines where I am not able to run it. What other reasons could be for this problem? Your early help will be much appreciated.

Thanks.
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!

Forum statistics

Threads
1,214,430
Messages
6,119,447
Members
448,898
Latest member
drewmorgan128

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