Rubberduck icon indicating copy to clipboard operation
Rubberduck copied to clipboard

Inspection for shadowing of Word Commands

Open ThunderFrame opened this issue 8 years ago • 3 comments

Word has approximately 950+ built-in commands that can be executed with Application.Run "CommandName" - See the full list by going to Developer Tab, Macros, and choose "Macros in: Word commands".

In many cases, the same command can be executed by using Application.WordBasic.CommandName

VBA code should try to avoid shadowing these built-in commands.

ThunderFrame avatar Aug 21 '17 06:08 ThunderFrame