If you want a message to display in Microsoft Excel, you must create an HTML-based template. The template must include the following syntax:
<!-- application/vnd.ms-excel -->
Note:
In addition, the Display content as filetype option should be configured to use HTML when configuring a Display template action that will use the template associated with Excel.