"An unexpected problem occurred. "

Feb 9, 2015 at 2:33 PM
Details:


[COMException]: Não é possível definir a propriedade NumberFormat da classe Range



em System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)

em Microsoft.Office.Interop.Excel.Range.set_NumberFormat(Object value)

em Smrf.NodeXL.ExcelTemplate.WorkbookExporter.GetOrAddTableColumn(ListColumn oSourceColumn, ListObject oNewTable)

em Smrf.NodeXL.ExcelTemplate.WorkbookExporter.CopyRowsToNewNodeXLWorkbook(ListObject oSourceTable, Range oSourceTableRangeToCopy, Workbook oNewNodeXLWorkbook)

em Smrf.NodeXL.ExcelTemplate.WorkbookExporter.CopyTableToNewNodeXLWorkbook(String sWorksheetName, String sTableName, String sTemplatePath, Workbook& oNewNodeXLWorkbook)

em Smrf.NodeXL.ExcelTemplate.WorkbookExporter.ExportSelectionToNewNodeXLWorkbook()

em Smrf.NodeXL.ExcelTemplate.ThisWorkbook.ExportSelectionToNewNodeXLWorkbook()
Coordinator
Feb 11, 2015 at 3:03 PM
Hello,

from what I can understand from Google Translate it seems that there is a format problem with one of the columns (probably a custom self-added column). Try to set the correct formatting on those cells and see if it works.

Regards,
Arber