Define Macro Blocks

Explanation

Use this activity to define macro blocks. These blocks will then be connected to the macros, as described in the Connect Macro Blocks activity. The following table shows a couple of examples for macros. an Editor is available by clicking on script icon.

Example 1- WORD_INIT Example 2 - WORD_UPDATE
 'Setup some variables'
    Dim sMsg
    sMsg = "Congratulations on your first document macro!"
Public Sub View_Word()
            MsgBox sMsg
End Sub

Prerequisites

N/A

System Effects

These macro blocks are the codes for the macro.