You are visitor number since 14 October 2004.
Go to Howard Kaikow's home page
Copyright © 1999 by Howard Kaikow. All rights reserved.
Date: 10 February 1999
From: Howard Kaikow <kaikow@standards.com>
Subject: How to look at macro source code
It is sometimes necessary to examine the source code of a macro without allowing the macro to execute.
If a macro is not one of the macros that will automatically execute when you start Word or when you open/create a document, then all you need to do is attach the template to a document and examine the macro source code. If the template is a global add-in, e.g., the template is located in Word's Startup directory, then you will have to open that template directly.
If the macro to be examined is one of the automatic macros, or you are unsure of what macros are in a template, then you may use the following technique to examine the source of a macro:
I recommend keeping around a CLEAN.dot template. You can create this as follows:
Clean.dot is the minimal Normal template created when you first install Word. It has only default settings, but can be very useful.
In order to view a macro: