Types of variables don't matter for excel.
The issue is more going to be where to put them. Just saying "write variable x followed by y into a spreadsheet" makes no sense to a computer.
If each of your variables are vectors, this will be easiest. You can use xlswrite(filename,A,range) to solve this issue.
A = 0.008
A_len = lenght(a);
B = 1 1 1 1 1 1
B_len = length(B);
C = 15
C_len = length(C);
D = 1.5 1.5 4 2 3
d_len = length(D);
a_str = fprintf('A1:A%i',A_len);
xlswrite('fname', A, a_str);
b_str = fprintf('B1:B%i',B_len);
xlswrite('fname', B, b_str);
c_str = fprintf('C1:C%i',C_len);
xlswrite('fname', C, c_str);
d_str = fprintf('D1:D%i',D_len);
xlswrite('fname', D, d_str);
If your variables are not vectors, then this is harder. You'll have to use ranges like A1:H31. But, you could put each of these onto a different sheet in excel (look at the matlab help for that information)