05-24-2013 01:15 AM
Excel_RangeSetItem is accepting only characters but i want to pass string values to it is there any way i traid ExcelRpt_WriteData(); but in this cell values are not moving forward this feature is there in Excel_RangeSetItem but this is not accepting strings, please suggest solution for this.
Thanks & Regards
05-24-2013 03:36 AM
Excel_RangeSetItem accepts variants as arguments; in order to pass a CVI string to the function, you must format it in a variant with CAVT_CSTRING data type: this can be accomplished by using CA_VariantSetCString () function. For your reference, here is the list of data types that you can use in variant variables and the corresponding CVI types.