Wednesday, January 07, 2009

Suppress "Opening this will run the following SQL command" message using Registry – Word Mail Merge

How to suppress "Opening this will run the following SQL command" message using Registry – Word Mail Merge

Here is a method to do the same

Word 2007

1. Start Registry Editor.

2. Locate and then click the following registry key:

HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Word\Options

3. On the Edit menu, point to New, and then click DWORD Value.

4. Under Name, type:

SQLSecurityCheck

5. Double-click SQLSecurityCheck.

6. In the Value data box, type:

00000000

7. Click OK.

Back to the top

Word 2003

1. Start Registry Editor.

2. Locate and then click the following registry key:

HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Word\Options

3. Click Edit, point to New, and then click DWORD Value.

4. Under Name, type:

SQLSecurityCheck

5. Double-click SQLSecurityCheck.

6. In the Value data box, type:

00000000

7. Click OK.

Back to the top

Word 2002 Service Pack 3


To do this, follow these steps:

1. Start Registry Editor.

2. Locate and then click the following registry key:

HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\Word\Options

3. Click Edit, point to New, and then click DWORD Value.

4. Under Name, type:

SQLSecurityCheck

5. Double-click SQLSecurityCheck.

6. In the Value data box, type:

00000000

7. Click OK.


Word Message

Type RegEdit in Run Window Select the appropriate key for your Word version


Create a new DWORD value



No comments:

Post a Comment

StumbleUpon
Share on Facebook
Related Posts Plugin for WordPress, Blogger...

Visual Basic for Applications (VBA) Forum (recent threads)

CodeKeep VBA Feed

Visual Studio Tools for Office Forum (recent threads)

Download Windows Live Toolbar and personalize your Web experience! Add custom buttons to get the information you care about most.

Office Business Applications (OBA) Team Blog

MSDN Code Gallery Published Resources For Tag VSTO

microsoft.public.vsnet.vstools.office Google Group