Macros are programs in an excel sheet file. Most of my projects are based on such macros. The entire source code is open (open source). That means if you understand the programming language VBA (or VB.Net), you can read or edit the source code by clicking View -> Macros -> Choose a macro -> Edit.
Macros usually represent a considerable security risk. The most famous example of a virus that distributed over macros is Locky, a virus that encrypted all of your data. To ensure the security of your data, Microsoft offers so called certificates to developers. Once a developer signed his macros with his certificate, the macros are considered safe. However, Microsoft does not offer those certificates to single developers. That’s why you need to do the following steps to be able to execute the exam trainer and all of my other Excel projects:
Excel 2003 or older:
- Open the menu ‘Extras’ and click ‘Macros’ > ‘Security’.
- Set the security level either to ‘Medium’, if you wish to be asked for permission before macros are executed or to ‘Low’, if you wish to execute all macros without any prompt (not recommended).
- Save the settings by clicking ‘OK’
- Restart the file you wanted to use.
Excel 2007:
- Click the Office Logo in the upper left corner and then ‘Excel-Settings’.
- Click ‘Trust Center’ in the next window.
- Now click ‘Settings for the trust center…’.
- Click on ‘Macro settings’ on the left.
- Choose either ‘Deactivate all macros with notification’, if you wish to be asked for permission before macros are executed or choose ‘Activate all macros’, if you wish to execute all macros without any prompt (not recommended).
- Save the settings by clicking ‘OK’
- Restart the file you wanted to use.
Excel 2013 and later:
- Click ‘File’ -> ‘Options’
- Next, click ‘Trust Center’ and then ‘Settings for the Trust Center’
- Click on ‘Macro settings’ on the left.
- Choose either ‘Deactivate all macros with notification’, if you wish to be asked for permission before macros are executed or choose ‘Activate all macros’, if you wish to execute all macros without any prompt (not recommended).
- Save the settings by clicking ‘OK’
- Restart the file you wanted to use.