V.B.A. + Registry

Hello to everyone!

I would like your opinion about a very weird issue I have. I wrote a V.B.A. script that writes directly in the registry adding a new key (HKEY_CURRENT_USER\Software\ [New Key]). As an xlsm file everything running perfectly, as a standalone exe file (using the trial version of XLS Padlock) I didn’t receive any error, but I didn’t see also the new key in the registry!
Is there any suggestion on how may I write a V.B.A. script to write in the registry and then see the new entry (Key, Value, …etc.) when I will open “regedit.exe”?

Thank you in advance for your attention!

Could you post the VBA code you use to write to the registry?