I'm trying to write hex strings to an excel file using Excel Report, but I came across cases where the string happens to be in scientific notation ("3E04"). The excel file interprets "3E04" as 30000. I'm using SetCellValue to write to the file and I've specified that the type is a string. I understand that from Excel it is possible to format cells to be straight text, but how can I do that from CVI, such that it is interpreted as text and not numeric?
This is my code:
ExcelRpt_SetCellValue(OutputWorksheet, "A1", ExRConst_dataString, "3E04");
I'm using LabWindows CVI 2013 and MS Excel 2007