Magic Square Examples
The name of your work directory followed by the
Locate your work directory and navigate to the
directory and add the
file to the project.
Build the component by clicking the Build button
in the Deployment
The build process begins, and a log of the build appears in the Output
pane of the Deployment Tool dialog box. The files that are needed for the
component are copied to two newly created directories,
directory. A copy of the build log is placed in the
Adding the Excel Builder COM Function to Excel
Start Excel on your system.
Open the file
Note If an Excel prompt says that this file contains macros, click Enable
Macros to run this example.
Illustration 1. Output Magic Square Results to Excel
From the Excel main window (not the Visual Basic Editor), open the Macro
dialog box by pressing the Alt and F8 keys simultaneously, or by selecting
Tools > Macro > Macros.
from the list and click Run. This procedure returns a magic
square of size 4 beginning in cell B2.