This sort of works. However, when you click the 'Export to Word' link, the save as dialog box asks for the file to be saved as an .asp file. If I manually save as a .doc file it works ok.
I am wanting to make this idiot proof for others to use. Is it possible for the save as dialog box default to .doc
'Tells the browser to open word
Response.ContentType = "application/vnd.ms-word"
' Adds a header to give the document a name
response.AddHeader "content-disposition", "inline; filename=whateveryouwant.doc"
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.