In these pages you'll find examples of how to use Visual Basic macros. These are practical examples that have worked for me. I have based these examples on my own use of Visual Basic.
The first page contains information on how to use "Bookmarks" in Visual Basic:
The next few pages contain versions of a macro under development. The idea is to give some insight into the visual basic development process, and the use of different VB commands. Basically, this macro extracts data from different documents, processes the data, and stores it in a single file.
In this version of the macro Extract Data Write Version the "Write" command is used to write data to a file.
In this version of the macro Extract Data Put Version the "Put" command is used to write data to a file.
A simple implementation of the regular expression "/" (Backslash) in Visual Basic. This regular expression is also known as "Quote Next Char."
A simple implementation of the Wildcard* (asterisk) in Visual Basic.
a*tz matches atz
g*tz matches gensatz
G*tz matches Gegensatz
Wildcard* is very useful in parsing text for machine translation. When German is the source text, for example, it can be used to link two parts of separable verbs that can have any number of words between them, in order to translate the verb correctly.
Back to Visual Basic Macros Main Page:
Like some details on the programmer?