Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Other Office > Word VBA
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old June 23rd, 2007, 04:49 PM
Registered User
 
Join Date: Jun 2007
Location: , , .
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

Hi.
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.
Cheers!

ofAlexander

Reply With Quote
  #2 (permalink)  
Old June 24th, 2007, 04:16 AM
Authorized User
 
Join Date: Jun 2003
Location: , , United Kingdom.
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 10:27 PM
Shift + Enter OR Shift+Double-Click phungleon Access 2 May 20th, 2004 11: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 09:03 PM



All times are GMT -4. The time now is 07:59 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.