is there an update for the version 3.0 available, or must I upgrade the version 3.0 to 4.0?
If there is an update available for the version 3.0, how can I download this?
now I use the XLSReadWriteII component version 4.00.15 for Delphi 6. I use following code:
[code]
var
lXLS: TXLSReadWriteII4;
lInternalName: TInternalName;
lSheetIndex: integer;
begin
lXLS := TXLSReadWriteII4.create(nil);
try
lSheetIndex := 0;
lInternalName := lXLS.InternalNames.FindBuiltInName(bnPrintArea, lSheetIndex);
if not (assigned(lInternalName)) then begin
with lXLS.InternalNames.Add do begin
BuiltInName := bnPrintArea;
Definition := 'Inhalt!$A$1:$W$80;Inhalt!$A$91:$W$139;Inhalt!$A$150:$W$202;Inhalt!$A$213:$W$247;Inhalt!$A$258:$W$340;Inhalt!$A$351:$W$433;Inhalt!$A$444:$W$498;Inhalt!$A$509:$W$578';
end;
end else begin
lInternalName.Definition := 'Inhalt!$A$1:$W$80;Inhalt!$A$91:$W$139;Inhalt!$A$150:$W$202;Inhalt!$A$213:$W$247;Inhalt!$A$258:$W$340;Inhalt!$A$351:$W$433;Inhalt!$A$444:$W$498;Inhalt!$A$509:$W$578';
end;
finally
lXLS.free;
end;
end;
[/code]
At the command line "Definition := 'Inhalt!$A$1:$W$80;Inhalt!$A$91:$W$139;Inhalt!$A$150:$W$202;Inhalt!$A$213:$W$247;Inhalt!$A$258:$W$340;Inhalt!$A$351:$W$433;Inhalt!$A$444:$W$498;Inhalt!$A$509:$W$578';", I get the error "Name definition must be an area". When I use "Definition := 'Inhalt!$A$1:$D$10;Inhalt!$A$12:$D$20', I get no error.
If I set both print areas manually in the excel sheet, it works fine.
How can I set a large print area definition with the XLSReadWriteII component?
I test it with Delphi 2007, MS Office 2003 and the XLSReadWriteII component version 4.00.15 (for Delphi 2007). I get the same error.
Is an update in planning which fix this error?