Baby refusing formula

Jessica

I stopped pumping at 6 months and used leftover breast milk for about a month after that. Now I am on formula and she refuses it. She took happy baby once but vomited a lot a few hours later . Since then I switched to similac but she won’t take it. Cries hysterical when the bottle goes near her. I tried sippy cup which also was a no. I can only get a few spoonfuls in every few hours for the past two days. I don’t know what to do. She’s peeing so she’s not dehydrated . I do nurse at night but I don’t think there’s much milk mainly for comfort . Any tips would help greatly!!