Macros are little programs that allows you to run repetitive
tasks inside Word. There are some extremely handy macros, and
once you understand their power, it is difficult to live without
them. To learn more about macros and how to handle them, visit
Microsoft
Word MVP Website.
In Word, macros are stored inside Template files (extension Dot).
As the main Word template (normal.dot) is too prone to be corrupted,
it is recommended that you keep your macros in a different template.
You can receive a macro in many formats: text, basic or directly
in a Dot file.
For you to run a macro, the template that contains it should
be active. Templates stored in the Startup directory are automatically
activated when you open Word. If you do not know where is your
Startup directory, please go to Tools > Options > File Locations
and the Startup directory is listed there.
If you receive a "Dot" file, place it in your Startup
directory.
If you receive a text file or a visual basic file, visit the
suggested site above.
With a macro it is possible to cycle through all text boxes and
make the content hidden and then revert the change afterwards.
To hid text, use macro named Maketxtboxhidden.
To show text, use macro named Maketxtboxunhidden. Both
macros can be found inside Hide_Show_Text_Boxes.txt.
This macro saves the active document with
another name (Original_ + document name). Some people like to
save the original document before fiddling with its format:
This macro changes the notation of a number
from European to North-American or vice-versa.
E.g.:
Replaces 1,098,879.98 with 1.098.879,98 or
1.098.879,98 with 1,098,879.98.
Attention: Use it carefully. It replaces
any comma inside a number with a dot and vice-versa, in ALL
instances. In many cases, this is NOT what you want (E.g.: you
generally do not want to replace it in a version number > Version
2.1).
DVX does not paint Trados segments when exporting a translation.
This macro paint segments in the following manner: source >
dark blue; fuzzy matches (0-99%) > magenta; matches (100%)
> green.
This macro looks for Light Green Highlights and replaces the
corresponding text with a white font. Macro was posted in microsoft.public.word.newusers
@ news.microsoft.com answering a question I had posted.
There is a script that converts all TTX files inside a folder
in BIF files. The script can be found in the Files section of
the TW_users group. It is named SaveAsBIF.vbs.
Miri
Ofek, a Déjà Vu user, developed some Word macros
to help removing and reinserting graphics in a Word file. Once
the graphics are removed, it is very easy to import, translate,
and export the translated file. The macros are in a Word template
file (ImagesOutIn.dot) to download it, click
here.
How
to use Miri's macros:
Open template (Tools > Templates and Add-ins > Add).
Open your file and run the first two macros: "Convert
Floating to Inline2" and "Inline Shapes Out2."
Close both files (there will be one text file and one graphic
file). Translate text file normally.
Copy graphic file to the folder where your translation is.
Open translated file and open graphic file. Active file should
be the translated file.
Run third macro (Inline Shapes2) from translated file.