How add new NamedRange?
Posted: Wed Oct 27, 2010 9:13 am
Subj.
This code falls on assigning Name property:
XLSNamedRegion := XLS.InternalNames.Add;
XLSNamedRegion.BuiltInName := bnNone;
XLSNamedRegion.Name := 'MyCoolNamedRange';
XLSNamedRegion.Col1 := 0;
XLSNamedRegion.Col2 := 10;
XLSNamedRegion.Row1 := 0;
XLSNamedRegion.Row2 := 10;
This code falls on assigning Name property:
XLSNamedRegion := XLS.InternalNames.Add;
XLSNamedRegion.BuiltInName := bnNone;
XLSNamedRegion.Name := 'MyCoolNamedRange';
XLSNamedRegion.Col1 := 0;
XLSNamedRegion.Col2 := 10;
XLSNamedRegion.Row1 := 0;
XLSNamedRegion.Row2 := 10;