Thanks !

Did you try first my code with your post #9 attachment ? As it rocks on my side ! …

When the error occurs, what is the variable C value ?