Implementing the Features of the Addin

We are now ready to "implement" the features of the add-in. As discussed earlier, for now we will just supply a message box for each feature.

The ActivateSheet utility has already been taken care of, since there should be a code module named basMain in the SRXUtils.xls project. For now, this module should contain only the following procedure:

Public Sub ActivateSheet()

MsgBox "This is the ActivateSheet utility" End Sub

For the printing utilities, we need a new Excel workbook. Create a new workbook and name it Print.xls. Add a code module (with any name) containing the code shown in Example 12-13.

0 0

Post a comment