SQL Warning opening Word 2003

N

NevilleT

I have put this on several newsgroups but no answer as
yet. When I open Word 2003, I get a warning message

Opening this file will run the following SQL command
Select * from MrgFile.txt
Data from your database will be placed in the document. Do
you want to continue?

Sounds like a mail merge so I thought I would try here.
Found a knowledge base article 827565 which talks about
macros and registry settings but not keen to go there as I
have not worked out how to create a macro.

Any ideas
 
P

Peter Jamieson

Found a knowledge base article 827565 which talks about
macros and registry settings but not keen to go there as I
have not worked out how to create a macro.

(For the benefit of other readers, as far as I can see the article number is
825765).

You don't need a macro to change this setting (In fact I can't see where it
mentions one in the article so I hope we are seeing the same thing).

I think if you follow the steps described, starting with "Open Registry
Editor", you should be OK.

Typically, the registry editor is called regedit.exe and is in your Windows
directory (c:\Windows, c:\winnt or whatever)
 
N

NevilleT

Hi Peter and thanks for your help. I did transpose
numbers in the article. It was 825765. The reference to
macro is in the second paragraph under "More Information"

"You can use a VBA macro with the command to suppress this
message:
application.DisplayAlerts= wdAlertsNone"

I will try changes to the registry and see how that works.

Regards

Neville
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top