Hi, I need macro code which creates log file in the specified path and records audit trial information.
Audit trial information are:
1. Message ("File Name opened by Username, Date and Time) when the excel workbook is opened.
2. Message ("File Name "Command Button Name" clicked/runned by Username, Date and Time) when the macro is run that is there are two command buttons, it should record which command button is clicked.
3. Message ("File Name closed by Username, Date and Time) when the excel workbook is closed.
Thanks in Advance.