Never heard of D for anxiety, but I definitely have used B, and it helped a lot.
Elevated my moods too!
Never heard of D affecting anxiety, and 5000 is a whole lot. Don't know if there's a level of D that's harmful. You only need to take it every other day because it's fat soluble, so it stores in the system. You only need a half hour or an hour in the sun during prime daylight hours to get enough, but most of us don't do that anymore now that they've convinced everyone the sun is dangerous and we all work indoors all day. I'd research the proper dosage, but I've been taking it for years and haven't noticed any effect on anxiety. I does a whole lot of other things, though.