VB Code Format Macro - ver. 1.1.1
for Word 97/2000

This macro won a prize at the level D of Microsoft Office Extensions program in September-October, 2000.

Have you ever written a program, which you had to print into your document, but you understood that the code in the VB editor was more readable then in MS Word? Would you like to format selected text in Word with your personal fonts and colors? Check it out:

The Ultimate VB News Source

The VB code before formatting

      ' Hello world sub
      Sub Hello()
      Dim s As String
        s = "Hello world"
        MsgBox s    ' Displaing a message
      End Sub
    

And after formatting

      ' Hello world sub
      Sub Hello()
      Dim s As String
        s = "Hello world"
        MsgBox s    ' Displaing a message
      End Sub
    

Now you won't need various programs for formatting code to print or to decorate your website. Now it's in one place! Don't suffer, format you code in MS Word, where you can print and save documents in various file formats, including HTML.

In version 1.1 formatting of string expressions is added. Now more keywords and keywords-functions (like Mid) can be formatted.

Version 1.1.1 (25.07.99) - Bug is fixed: if text consisted symbol with the code #11 (not #13 as usual) at the end of a comment block all the next code would be selected as comments. The program works fine in Office 2000.

Open the DOC-file, containing this program (file doesn't contain a virus) to install/uninstall VB code formatting tool. After that type your document, then paste your code, select it and after you choose Format/VB code formatting or click on the button in the toolbar your document will get more readable view! You can also edit the program for new keywords or modify it for other computer languages! Try it! This program is FREE!

Downloaded times
Since Mar 17, 2000

FormatVB.zip (~33 Kb)
Software Last update: 09/01/09