title: running a macro from asp.net while exporting a gridview
body: <p>I have a gridview, I need to export the gridview to MS word and this works fine, but I need to put custom header and footer on each page of Ms word. Is it possible to run a macro from asp.net on the exported gridview so that I can put the custom header and footer on the exported gridview and also adjust some margins on the printed out page.</p>
  
  <p>any help will be appreciated.</p>
  
  <p>Thanks.</p>