back again......

I don't want to gain weight....I'm trying to lose! and yet, I'm gaining! i do realize that I have too big of a deficit most days, so that's not helping me! But......nothing is helping me! I've ate more calories, I ate less calories, I workout regularly, and i"ve gained 10lbs since this time last year. I do measure my food, and i do log EVERYTHING, even the bad stuff. I have had a few days here and there where my diary isn't complete, but i didn't have access to internet during those times to log. I don't weigh my food, but I certainly don't over eat either. I try to eat fresh foods as much as I can. I do eat a few packaged foods(snacks mostly). I'll take any advice, but I mainly just need to vent!
I'm 5'11, 168 lbs
39yrs old, female

I am just so very frustrated. yet I do keep working out. It's been this way(the weight gain, and no loss),since about February of this year. I also realize Muscle is built very slowly, so I know that weight gain isn't all muscle, yet I do feel firmer in areas, and tighter. I have gone up a size too! :( Anytime I get advice, I try it, and still nothing. :(