1) I wonder how can be set a default font name/size and cell alignment in entire sheet
Code: Select all
with XLS.CmdFormat do
begin
Mode := xcfmReplace;
BeginEdit (XLS [0]);
Font.Name := 'MS Sans Serif';
Font.Size := 10;
Alignment.Vertical := cvaCenter;
Apply (0, 0, 255, 65535);
end;
2) how can be created a file with 6 sheets in Excel 97 format with default settings like point 1)
3) XLS.CmdFormat.BeginEdit (XLS [0]) - value "0" what means? sheet index?
Regards