Some is used for positive sentence and any is used for negative and interrogative sentence.
e.g. I have some books, I do not have any books, did you have any books?
However, we use "any" in some of the positive sentences. Please shed some light.
Example: You have not provided any explanations why you banged the door this morning.