Sets the BIFF workbook code page value used by the classic XLS writer.
This is a compatibility hook for legacy workbook consumers that expect a
specific CodePage record. Modern Excel BIFF8 workbooks normally use the
Unicode code page value.
Syntax
function SetCodePage(ACodePage: Word): Integer;
Example
Workbook.SetCodePage(1251);