Load and delete sheet from dbenfachALL.xlsx(https://www.devexpress.com/Support/Center/Question/Details/Q571743),System.ArgumentOutOfRangeException throws.
===================================================================================================using System;using System.IO;using Infragistics.Documents.Excel;
namespace ConApp{ class Program { static void Main(string[] args) { Stream stream = File.Open("dbenfachALL.xlsx", FileMode.OpenOrCreate); Workbook wb = Workbook.Load(stream); if (wb == null) { return; }
var count = wb.Worksheets.Count; for (int i = count - 1; i > 0; i--) { wb.Worksheets.RemoveAt(i); } } }}
Hello Linden,
We have shipped out a new service release where your issue is resolved. I'd be glad to find out if you had tested it out and if it had met your requirements.
You can download the Service Releases by logging to our web site and going to Account \Keys & Downloads.
https://ko.infragistics.com/my-account/keys-and-downloads/