This is a question which baffles many learners of English.
Most teaching material gets as far as the very basic grammar rule 'some' for affirmative statements: 'any' for questions and negatives, and leaves it at that. Then, at some point, learners (and novice teachers who've taught this rule) notice that there's more to it: we realise that, in fact, we use both 'some' and 'any' in positive statements and we also use both 'any' and 'some' in questions. It isn't just about grammar - it's about meaning, too.
So what IS the difference?
The difference is this: the word 'any' includes a negative notion. It's a very subtle concept, but it's one that native English speakers are instinctively aware of. It's also one that learners find very hard to grasp and teachers find very hard to explain.
However, I recently came across an interesting piece of research which demonstrates the distinction rather nicely. Look at these two questions:
Is there anything else you'd like to discuss?
Is there something else you'd like to discuss?
They mean the same thing, don't they? Well, no. They don't.
In a study of the language used by healthcare professionals, one group of doctors was instructed to ask their patients the question with 'anything' at the end of the consultation, while another group was instructed to ask the question with 'something'. This is what happened:
Far more patients in the first group said 'No', while far more patients in the second group said 'Yes'. This is why:
A large proportion of the patients who were asked 'Is there anything else you'd like to discuss?" picked up on the possible negative notion implied, and replied 'No'. Many presumed that the doctor didn't expect or want them to ask any further questions and inferred that this was just a meaningless formula signalling the end of the consultation.
Meanwhile, many patients who were asked 'Is there something else you'd like to discuss?' actually did then tell the doctor about other health problems or symptoms which were worrying them. Patients inferred that the doctor was saying "I think that you have another problem. Would you like to talk to me about it?". They felt reassured by this positive nature of this question, and this prompted them to bring up a concern which they would not otherwise have mentioned.
Interesting, isn't it?

