I am trying to set the cell number format, but calling xlcFormatNumber does not remove the cell number format as "General". I can successfully set the cell value using xlSet.
XLOPER xRet; XLOPER xRef; //try to set the format of cell A1 xRef.xltype = xltypeSRef; xRef.val.sref.count = 1; xRef.val.sref.ref.rwFirst = 0; xRef.val.sref.ref.rwLast = 0; xRef.val.sref.ref.colFirst = 0; xRef.val.sref.ref.colLast = 0; XLOPER xFormat; xFormat.xltype = xltypeStr; xFormat.val.str = "\4
I could not find documentation about using this command. Any help here would be greatly appreciated.
source share