Some of my own VB macros

* * *

Below is a list of available macros. These macros are particularly useful when translating documents from German to English.

LineCount macro

.

This macro counts the number of lines


Comma macro

.

Macro to replace " ," with "," and " ." with "."

The macro removes spaces before commas and periods.

It helps tidy up a document.


SemiColon macro

.

Real name: SemiColon

Macro to replace " ;" with ";" and " :" with ":" without any checks

[alpha word] ; [alpha word] -> [alpha word]; [alpha word]

[alpha word] : [alpha word] -> [alpha word]: [alpha word]

The macro removes spaces before semicolons and colons.

It helps tidy up a document.


Decimal Comma Macro

This is a Visual Basic Macro which will run on Microsoft Word. It replaces commas between numerical digits with periods.

To replace [0-9],[0-9] with [0-9].[0-9]

For example, it will replace 3,4 with 3.4

Be careful with some software (e.g. Unix) commands like 111,12 33,01, etc., where the comma should not be replaced.

This macro is useful when translating German texts to English. It changes the comma in numbers to a period.


QuotMarks macro

.

Quotation Marks Macro

Macro to replace German typographical quotation marks with standard English ones

For example: replace ,,Integrator Toolkit" with "Integrator Toolkit"

Again useful when translating German texts to English.


QuotMarks1 macro

.

Macro to replace single ,*' quotation marks with standard English ones

For example: macro to replace ,Integrator Toolkit' with 'Integrator Toolkit'

Again useful when translating German texts to English.

Written documents


Save Next - Visual Basic Macro

* * *

Save Next macro is a Visual Basic Macro that runs on Microsoft Word. The purpose of the macro is to increment the number in a file name. The file name must have the format: "FileNname_X.doc", where X is a number between 1 and 99. File X is a Word document. File X is opened and when the macro is called it increments "X" to "X +1", and saves the file as "FileName_X+1.doc".

Main page for Visual Basic (VB) Macros for Microsoft Word

Like some details on the programmer?