PDA

View Full Version : VB not executing



DBinPhilly
04-26-2017, 07:53 AM
A customer of mine who I installed 5 years ago just changed computers. They are using MS Access 2007. The program was simply copied over to the new computer, but none of the visual basic behind the various screen executes. Press a command button: nothing.

There was no problem with their previous installation and the only thing done was a straight computer-to-computer copy.

Does anyone have a simple solution?

Additional Information:
Queries will run if executed manually.
I can make changes to tables, just not through any forms.

Logit
04-26-2017, 08:00 AM
The program was simply copied over to the new computer

Was MS Office installed also ?

DBinPhilly
04-26-2017, 08:01 AM
Was MS Office installed also ?

Yes,

PhilS
04-26-2017, 08:59 AM
Are Macros and VBA-Code enabled in the security settings? The easiest solution might be to make the database a trusted document in Trust Center.

DBinPhilly
04-26-2017, 10:14 AM
Are Macros and VBA-Code enabled in the security settings? The easiest solution might be to make the database a trusted document in Trust Center.

You nailed it. A trust center issue. Thanks for reminding me.