R
Ron H
I am attempting to upgrade a Word Macro from Word 2000 that runs as a
forground task scheduled via windows scheduler on a unattended server.
During the running of the macro it opens a template built for mail merge that
latter dynamically attaches to a CSV data source.
The issue I am having is that under 2003 opening the templete stops with
"Opening this document will run the following SQL command:" goes on to list
the CSV data source file path which I believe is a request to attach the data
source.
I need to suppress this request message. Currently the template is being
opened with "Documents.Add Template:=Tmplt, newtemplate:=True,
documenttype:=0"
The current folder contains the template named in the variable "Tmplt".
Suggestions?
forground task scheduled via windows scheduler on a unattended server.
During the running of the macro it opens a template built for mail merge that
latter dynamically attaches to a CSV data source.
The issue I am having is that under 2003 opening the templete stops with
"Opening this document will run the following SQL command:" goes on to list
the CSV data source file path which I believe is a request to attach the data
source.
I need to suppress this request message. Currently the template is being
opened with "Documents.Add Template:=Tmplt, newtemplate:=True,
documenttype:=0"
The current folder contains the template named in the variable "Tmplt".
Suggestions?