October 17th, 2002, 2:05 pm
How do I convert an XLOPER from xltypeInt to xltypeStr? XLOPER xStr, xInt, xDestType; xInt.xltype = xltypeInt; xInt.val.num = xlParam->val.num; xDestType.xltype = xltypeInt; xDestType.val.w = xltypeStr; Excel4(xlCoerce, &xStr, 2, (LPXLOPER)&xInt, (LPXLOPER)&xDestType); Excel4(xlcAlert, 0, 1, (LPXLOPER)&xStr); Excel4(xlFree, 0, 1, (LPXLOPER)&xStr);ok I thought this would convert a number to a string, but it would appear that I am wrong again, any ideas on how I can achieve this?CheersSteve.