Did you try
writetable(TT,filename,'Sheet',3,'Range','A2');
?
Please attach a sample file that you get from calling writetable() and also one that you have manually edited to be the way you want it. (They don't have to contain your actual data.) Then someone can figure out the correct way to call writetable() so you get the desired result.