Page 1 of 1

There is a problem in column insert operation of Excel files

Posted: Wed Jul 03, 2013 11:05 am
by ykarapinar
When you want to insert 1 column, it creates 2 columns instead in an Excel file;
Inserted column's contents are inserted up to line 256, all input stays remained after line number 256.

Code: Select all

var
  col, row: Integer;
begin
  XLSReadWriteII51.FileName:='C:\XLSRW.xlsx';
  for col:=0 to 10 do
    for row:=0 to 300 do
      XLSReadWriteII51.Sheets[0].AsString[col, row]:='[' + IntToStr(col) + ':' + IntToStr(row) + ']';

  XLSReadWriteII51[0].InsertColumns(4, 1);
  XLSReadWriteII51.Write;
end;

Re: There is a problem in column insert operation of Excel files

Posted: Wed Aug 14, 2013 7:05 am
by ykarapinar
Hello Larsa,
I didn't get any reply to the post I've made.
Is it possible that you take a look, this issue is holding us back.
Thank you.