Actually we need to use a Word template and insert cetain values through ASP. What I have done currently is : Have created a page in HTML and written the HTML to a text file and saved it as an doc file. 
strBody="<html> "
strBody=strBody &"<head>"
........
set sfile = objFS.createtex tfile(strPath, true)
sfile.write(str Body)
but in this case the problem is that we are not able to add headers/footers..Howeve r this is a temporary solution and I actually wanted to use the Word object to generate a word document.
However, when i try to create an object of Word, the stmt results in an error saying :
Set WordApp = CreateObject("w ord.application ")
*Set WordDoc = WordApp.Documen ts.Add()
*Error : "Microsoft Word (0x800A175D) Could not open macro storage."
plz. Help !!
					strBody="<html> "
strBody=strBody &"<head>"
........
set sfile = objFS.createtex tfile(strPath, true)
sfile.write(str Body)
but in this case the problem is that we are not able to add headers/footers..Howeve r this is a temporary solution and I actually wanted to use the Word object to generate a word document.
However, when i try to create an object of Word, the stmt results in an error saying :
Set WordApp = CreateObject("w ord.application ")
*Set WordDoc = WordApp.Documen ts.Add()
*Error : "Microsoft Word (0x800A175D) Could not open macro storage."
plz. Help !!