DATA AHEAD toolkit support Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

XLR8: delete sheet don't remove named range of the sheet

Result:

- error (1172) in "Create Named Range" on the new page with the same name of previously delete page

Error

Error 1172 occurred at Property Node (Arg :1) Error accessing property NPOI.SS.UserModel.IName.NameName, (System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.

          Inner Exception: System.ArgumentException: The workbook already contains this name: CHECK)

Possible reason(s):

LabVIEW:  A .NET exception occurred in an external assembly. For information about correcting this error, copy the following exception (in bold), and search the Microsoft Developer Network (MSDN) Web site or the Web for a possible explanation.

System.ArgumentException in XLR8.lvlib:Create Named Range.vi->Fenetre rapport.vi

- Excel generates an Error at file open

Image 001.png

Solutions:

- add VI to remove selected or all Named Range. (also usefull with a Wipe Sheet)

0 Kudos
Message 1 of 4
(4,811 Views)

hi daniel,

thanks for reporting that bug! I checked it with the old xls format and you are right! The xlsx format doesn´t have this bug. It will be fixed for xls in the next version of XLR8!

Greetings

Hajo

Message 2 of 4
(3,918 Views)

Dear Hajo,

As mentioned GerdW today, could you add bug #number your answer, past ans futures?

I will help when new updates will be published.

Regards,

Daniel

0 Kudos
Message 3 of 4
(3,918 Views)

Hello daniel,

the bug # is 798.

Greetings,

Hajo

Message 4 of 4
(3,918 Views)