以Excel2007为例
请自行根据不同版本的Excel库进行相应的更改
/*
enum XlMousePointer
{
xlIBeam = 3,
xlDefault = -4143,
xlNorthwestArrow = 1,
xlWait = 2
};
光标样式枚举
*/
XlMousePointer xlmouse =XlMousePointer:: xlIBeam;
CApplication xlsAppLication;
//初始化略
xlsAppLication.put_Cursor(xlmouse);