VBA code for creating hidden folder


When using the save options from XLS Padlock two files are created (Dat file and XLSC file).

I am looking for a vba code that will create a hidden folder where this two files will be saved so that the end user will only see the exe file in his folder.

Can anyone guide me in the right direction to create this?


If you place your EXE file in the Windows’s Program Files folder, the two files will be saved in the AppData local folder. By default, this is a hidden folder for most Windows installations. Only advanced users generally make this folder visible. It should be enough in your case.
You can use Paquet Builder to create an installer that will place your XLS Padlock in the Program Files folder.
See https://www.installpackbuilder.com