Dokumentacija HotXLS
Sadržaj
Početna
Pregled
TGridToXLS
IXLSWorkbook
Početna
Sadržaj
Pregled
LastSavedBy svojstvo
Gets or sets the saved-by user name stored in the classic XLS WRITEACCESS record. Read/write WideString
Sintaksa
property LastSavedBy: WideString;
Opis
The property applies to classic XLS output and maps to the BIFF WRITEACCESS
record. New workbooks return HotXLS until a caller assigns a
value. Workbooks opened from an existing XLS file preserve the original
WRITEACCESS bytes until this property is assigned
Assigned values are stored as UTF-16 and truncated to 54 characters so
the fixed-width record body remains valid
UserName is an alias for the same stored value
Primjer
This example stores an explicit audit user name before saving the workbook
Workbook.LastSavedBy := 'Alice';
Workbook.SaveAs('C:\audit.xls');
Vidi također
sučelje IXLSWorkbook
IXLSWorkbook.UserNamesvojstvo
IXLSWorkbook.SaveAsmetoda
Copyright © 2010-2026 losLab Software