Hi You need to open a document in which you want to embed VBA code. In Microsoft Word, go to the "Developer" tab and click on the "Edit Code" button. Write or paste your code into the VBA editor window. After writing the code, save the document in .docm format (a document with macros enabled).
|