* Pronoun: When it refers to a person or people in general, it's functioning as a pronoun.
* Example: "Anyone can learn to play the guitar." (Here, "anyone" refers to any person at all.)
* Noun: When it refers to a specific person or group, it can be considered a noun.
* Example: "We need to find anyone who saw the accident." (Here, "anyone" refers to a particular person or people.)
So, the answer is a bit tricky! It depends on the context.