Accessing WORD object in ASP
Hi All,
I am trying to access WORD object in ASP by using the following code
<%@ language=vbscript%>
<%
Set oWord = CreateObject("word.application")
oWord.Application.Visible = true
Set oDoc = oWord.Documents.Add()
set oWord = nothing
set oDoc = Nothing
%>
But, I get an error message at the line;
Set oDoc = oWord.Documents.Add()
Error message: "Could not open macro storage"
Thanks for your help,
:)
MCinar
Love all the creatures because of the creator.
__________________
MCinar
Love all the creatures because of the creator.
|