to xld: yes I have the sheet "hidden" it increments the times the files is opened but still works with the date (string) as shown in the code.
To Norie : how can I then replace it with a date to test it and see if it works ?

Also is my interpretation of the code correct ?