Hello Mary Moss,
I doubt it as there are extremely few side effects of Avapro (or irbesartan which is an angiotension receptor blocker).
Even more convincing that your new medication isn't causing your symptoms is that avapro is not really a new medication for you! Avalide, which didn't cause symptoms, is a combination pill of irbesarten and hydrochlorothiazide.
It sounds like you could have arthritis in your neck. I suggest you discuss with your physician if a cervical (neck) x-ray or possibly an MRI could help determine the cause of your pain.
To your health,
Neil MD