Note: These instructions are for users of Microsoft Visual Studio .NET or Visual Studio 2005. For a quick start to using XLL+ with Microsoft Visual Studio 6, click here.
After you have installed XLL+, follow these instructions for the quickest possible introduction to using XLL+. You can find out more about any of the steps by clicking on the "More..." links.
On the Tools menu, click the New XLL+ Function item and then fill in the function's name and description, and press OK.
extern "C" __declspec( dllexport )
LPXLOPER EDateDiff(double StartDate, double EndDate, const char*
Country)
{
CXlOper xloResult;
//}}XLP_SRC
// TODO - Set the value of xloResult
xloResult = 99.9;
return xloResult.Ret();
}
For a more thorough introduction to XLL+, read through the rest of the topics in the Basic features section.