By David Hartley — Fri Dec 05 2025
If you use the dhxsoft staff leave planner, you will already know that Excel macros are essential for making the planner quick and easy to use. Macros are the planner's super power. They drive the calculations, they secure your login, they allow us to handle configurations that that are too complex for formulas, they run the reporting, they add helpful right click menu options, and they make the overall experience feel seamless.
At the same time, Excel is rightly cautious about running code. Its security settings are designed to stop unknown or unsafe files from running on your computer. The downside is that macro security can feel fiddly. You open a file, get a warning, click something that seems right, then find it hasn't worked, there's another setting somewhere you need to go and change.
This guide walks through the setup we recommend for most users. It keeps your computer safe while making it simple to open your dhxsoft planner without endless popups.
The first and most important setting to check is how Excel handles macros in general.
Excel gives you several levels of macro security. At one end you can block everything. At the other you can allow all macros to run without any checks, which is very risky. Our recommended middle ground is:
Disable all macros with notification
This option keeps you safe by blocking macros automatically in any new file. At the same time, it shows you a clear notification bar so you can choose to enable macros when you know the file is trusted, such as your dhxsoft staff leave planner.
From now on, when you open a macro enabled workbook, Excel will show a security warning at the top of the window with a button to enable content. This is your first layer of protection.

While the macro warning is good for security, it can be annoying when you open the same trusted file every day. That is where Trusted Locations are very helpful.
A Trusted Location is a folder that you have told Excel to treat as safe. Any macro enabled workbooks stored in that folder will open without security prompts. Excel assumes that if you trust the folder, you trust the files inside it.
For a dhxsoft staff leave planner, this works perfectly. If you store the planner in a specific folder that you control, you can mark that folder as a Trusted Location. After that, when you open the planner from that folder:
The key point is that Trusted Locations should only be used for folders you control and understand, such as your own documents folder, a specific network folder used by your team, or a dedicated folder for your planners.

Follow these steps to set up a Trusted Location for your dhxsoft staff leave planner.
Choose a folder on your computer, network drive, or OneDrive sync folder where the planner will always live. Move your dhxsoft planner file into that folder if it is not already there.
In the Trust Center window, select Trusted Locations from the list on the left. You will see a list of folders that Excel already treats as trusted.
If you want Excel to trust every folder inside this location, tick Subfolders of this location are also trusted. This is useful if you keep several planners or related files in a neat folder structure.
In the Description box, you can type something like "dhxsoft staff leave planner folder". This makes it easier to remember why you added the folder later.
Once you have both settings in place:
You get the best of both worlds.
This approach keeps your organisation safer, reduces the chance of accidentally running a malicious file, and avoids the daily frustration of clicking the same security prompts again and again.
If you share the planner with colleagues, you can give them the same simple instructions: store the planner in the agreed folder, add that folder as a Trusted Location, and keep macro security at "Disable all macros with notification". After a one time setup, the planner should open smoothly every time.
Need help setting up your Excel staff leave planner? Contact our support team for personalised assistance.