Protected Excel do not create folders

I’m new to XLS Padlock.
My Excel workbook creates 2 auxiliary folders and the later inthe VBA it moves some files into these folders. However after XLS Padlock .exe file is created the application do not create the auxiliary folders and crashes when attempts to move the files.

Please help.


It’s because XLS Padlock opens the workbook file in Excel as a virtual file. So, its folder is virtual too. If your code that creates subfolders is based on Workbook.Path, this would explain why subfolders are not created.
You should now consider the EXE file as if it was your workbook file, and work with the folder of the EXE.
Our user guide tells you how to get the path to the EXE file instead of workbook.path: