WordBASIC is the old macro and scripting language used in Microsoft Word prior to Word 97.
Very old versions of Microsoft Word (prior to Word 97) had a macro language called WordBASIC, which was based on QuickBASIC. It has a flat procedural approach to scripting document changes and consists of approximately 900 commands. Word 97 replaced it with vba as the object-oriented programming language for manipulating documents.
Some versions of Word can automatically convert old WordBASIC programs to VBA syntax when opening templates using them.