WordBASIC

WordBASIC was a subset of Microsoft QuickBASIC customized for word-processing in Microsoft Word. It was replaced by Visual Basic for Applications (VBA) when Word 97 was released. Contrarily to VBA, WordBasic was not object-oriented but consisted of a flat list of approximately 900 commands.

Example code
The following code snippets show the difference between WordBasic and VBA with a "Hello, World!" example:

WordBasic:

VBA: