You can try this.
It is a little trick.
[pre]
ods listing close;
ods html file="d:\download\whole.xls" style=sasweb;
title1 ' ';
title2 ' ';
title3 ' ';
title4 ' ';
title5 ' ';
title6 ' ';
title7 ' ';
title8 ' ';
title9 ' ';
title10 ' ';/*or only just title10 ' '; */
proc print data=sashelp.class ;
run;
proc print data=sashelp.company;
run;
proc print data=sashelp.library;
run;
ods html close;
ods listing;
[/pre]