Menu
Home Explore People Places Arts History Plants & Animals Science Life & Culture Technology
On this page
WordBASIC
Subset of Microsoft QuickBASIC customized for word-processing

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.

We don't have any images related to WordBASIC yet.
We don't have any YouTube videos related to WordBASIC yet.
We don't have any PDF documents related to WordBASIC yet.
We don't have any Books related to WordBASIC yet.
We don't have any archived web articles related to WordBASIC yet.

Example code

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

WordBasic:

Sub MAIN FormatFont .Name = "Arial", .Points = 10 Insert "Hello, World!" End Sub

VBA:

Public Sub Main() With Selection.Font .Name = "Arial" .Size = 10 End With Selection.TypeText Text:="Hello, World!" End Sub

References

  1. Halvorson, Michael; Kinata, Chris (1997). Microsoft Word 97 Visual Basic Step by Step. Redmond, WA: Microsoft Press. ISBN 1-57231-388-9. 1-57231-388-9

  2. Conceptual Differences Between WordBasic and Visual Basic, 07/11/2006, Microsoft Docs Archived https://msdn.microsoft.com/en-us/library/office/aa211963%28v=office.11%29.aspx

  3. Converting WordBasic Macros to Visual Basic, 07/11/2006, Microsoft Docs Archived https://msdn.microsoft.com/en-us/library/office/aa211926%28v=office.11%29.aspx