I am using the ConvertXLS2Doc.cs class to convert an excel file to word. The Excel file has all the cells in the print area formatted with fontname = “Courier New” and fontsize = “10”. But when the converter is done, the word doc has some cells that are formatted as “Times New Roman/12”.
In the attached doc file, I have highlighted all the cells I am concerned about. It appears that all cells with no text are being assigned the default formatting for fontname and fontsize.
Can you suggest a workaround?
Thanks for your inquiry. Fixed by adding one line in the code :). Please try using the attached converter class.