Excel Export Template Contain a Macro

When creating the excel template for export can we embed a macro into that template so that when the file is downloaded and the user opens the file they can then initiate a macro to convert the data as they need?We will be exporting as Excel file not CSV.

  Discussion posts and replies are publicly visible