I've tried to find documentation on office automation in particular now for excel, but i've don't find very good document.

In particular I don't find document on function argument.

Example :

If i want modify style of group of cell i don't know what value i must to submit to function SetHorizzontalAlignement see:

range = sheet.GetRange(COleVariant((LPCSTR)csFirstCell), COleVariant((LPCSTR)csLastCell));
style = range.GetStyle();
style.SetHorizontalAlignment( what is a value that i must insert ???????);

I have found only documentation in help format only for VB but don't for VC++. I've also Msdn library, but there isn't so much.

Can u help me

Thanks

Dyensì Software
Antonio Patarozzi