'In any case' can mean 'whatever happens', 'whatever happened', 'regardless'. For example: 'in any case, I will definitely still buy the house' or 'in any case, it's not important'.
'In that case' means 'because of that', 'seeing as that's going to happen'. For example: 'oh! You're not coming home until 6? In that case I won't prepare any lunch for you' or 'I heard he lost his job...in that case I wouldn't buy a new house!'