Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Other Office > Word VBA
Word VBA Discuss using VBA to program Word.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Word VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old June 23rd, 2007, 03:49 PM
Registered User
Join Date: Jun 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to ofAlexander
Default Help: Disable the "Shift Key" on macro Auto run

Does anyone know how I can write a vba code that can disable the usage of the "Shift Key" on macro Autorun in MS-word 2003?

I have a macro which runs automatically when word starts (AutoExec) and I do not it to get interrupted under any circumstances.

Thanks in advance.


Old June 24th, 2007, 03:16 AM
Authorized User
Join Date: Jun 2003
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts

If you're happy working with .NET and are using Office 2003 you could consider a VSTO addin.

Otherwise create a COM addin.

Unlike VBA addins these won't ever be disabled by holding down the Shift key when starting Word

Similar Threads
Thread Thread Starter Forum Replies Last Post
on opening workbook, how to disable macro ? jjk2 Beginning VB 6 1 January 7th, 2008 05:05 AM
Disable the [SHIFT Key] on Startup ru1 Access 4 September 22nd, 2007 09:27 PM
Shift + Enter OR Shift+Double-Click phungleon Access 2 May 20th, 2004 10:14 AM
Enable Shift Key to By Pass Macro! sampow Access 1 December 4th, 2003 07:46 PM
Trapping the Shift key yossarian Beginning VB 6 2 July 7th, 2003 08:03 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.