XLL+ Class Library (6.3)

ColorCell Sample

Contains macro functions which set the colors of a cell

Remarks

This project contains a macro function, ColorCells(...), which sets the foreground and background colors of the active cell.

It also contains a function to show the numeric index which represents the color of the active cell.

Classes and functions used

CXlMacros::Patterns | CXlMacros::FontProperties | CXlMacros::GetCell

Sample project

Each sample project is located in a sub-directory of the Samples directory of the XLL+ installation. To use the sample project, open the solution file ColorCell.sln or the project file ColorCell.vcproj.

You can enable debugging under Excel by using the Setup Debugging command in the XLL+ ToolWindow.

When delivered, the help files are excluded from the build. You can enable the help build by selecting the files ColorCell.help.xml and ColorCell.chm in the Solution Explorer, and using the right-click menu to view Properties. Select the page "Configuration Properties/General" and set the "Excluded from build" property to "No". See Generating help in the User Guide for more information.

See Also

List of Sample Projects