Consulting

Results 1 to 5 of 5

Thread: VB not executing

  1. #1

    VB not executing

    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.
    Last edited by DBinPhilly; 04-26-2017 at 08:41 AM.

  2. #2
    VBAX Expert Logit's Avatar
    Joined
    Sep 2016
    Posts
    613
    Location
    The program was simply copied over to the new computer
    Was MS Office installed also ?

  3. #3
    Quote Originally Posted by Logit View Post
    Was MS Office installed also ?
    Yes,

  4. #4
    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.

  5. #5
    Quote Originally Posted by PhilS View Post
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •