Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
30
Problem with CreateNewWorksheetCellFormat Method
posted

Hi,

When I try to create a new CellFormat with the instruction (dataworkbook is a Workbook object) : IWorksheetCellFormat objCellFormat = dataWorkbook.CreateNewWorksheetCellFormat();

I've got this error : NullReferenceException was unhandled by user code / Use the "new" keyword to create an object instance.

Where I'm wrong ?

Thanks in advance.

Fred

Parents Reply Children
No Data