Written by Allen Wyatt (last updated April 2, 2022)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, 2021, and Word in Microsoft 365
You can create a macro that Word will run whenever the program is started. There may be times, however, when you want to bypass the startup macro. If this is the case, you can use the following command line to start Word:
winword.exe /m
This command causes Word to start and attempt to run the macro after the /m. Since there is no macro there, Word starts without executing any macro at all. This is also a good trick to try if you suspect you have an AutoExec macro that is doing something hinky to your system.
Note:
WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (9922) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, 2021, and Word in Microsoft 365. You can find a version of this tip for the older menu interface of Word here: Bypassing the Startup Macro.
Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!
One of the powerful programming structures provided in VBA allows you to conditionally execute commands. The If ... End ...
Discover MoreShortcut keys are a great way to apply styles to text in a document. You can easily create a shortcut key assignment for ...
Discover MoreWhen developing a macro, you may need to swap the values in two variables. It's simple to do using the technique in this tip.
Discover MoreFREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)
Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu interface.
Visit the WordTips channel on YouTube
FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2025 Sharon Parq Associates, Inc.
Comments