Hi. I'm online and happy to answer your question today.
There are a number of things that can cause intermittant, sharp pains in and around the eye. The most common is some type of sinus issue. As the possible diagnosis' are so large I would suggest you see an ophthalmologist for a complete eye examination.
And, now, the obligatory word from our sponsors: :o)
I hope that this information was helpful for you. Please, allow me get credit for my time and effort in assisting you and press the ACCEPT button for this assist. I will be glad to answer additional questions until you are satisfied. Thank you very much. Positive Feedback and/or Bonus is welcomed and appreciated.