+ Reply to Thread
Results 1 to 3 of 3

Trigger macro by opening access

  1. #1
    Forum Contributor
    Join Date
    04-05-2011
    Location
    behind you!
    MS-Off Ver
    Excel 2010
    Posts
    116

    Trigger macro by opening access

    Hi,

    I need to write a log-file to monitor the user activity in a database. This will be the design of the according log-file:

    User | Date | Open / Close ?

    Every open / close of the db triggers a log-file recordset.

    My question is: Is there an vba-access-command (like WorkBook_Open in vba-excel), that triggers a macro by opening / closing the database?

    Thank you very much,
    Lloyd

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,887

    Re: Trigger macro by opening access

    Look at this:

    http://office.microsoft.com/en-us/ac...010336239.aspx
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Contributor
    Join Date
    04-05-2011
    Location
    behind you!
    MS-Off Ver
    Excel 2010
    Posts
    116

    Re: Trigger macro by opening access

    Thank you very much for your fast reply!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1