Opens an existing Workbook
Sözdizimi
function Open(FileName: WideString):Integer;
function Open(Stream: TStream):Integer;
function Open(FileName: WideString; Password: WideString):Integer;
function Open(Stream: TStream; Password: WideString):Integer;
| FileName |
WideString. Açılacak dosyanın adını belirten string. Tam yol içerebilir; içermiyorsa Workbook dosyayı geçerli klasörde açar |
| Stream |
TStream. A stream object that can be used to read the Workbook |
| Password |
WideString. Korumalı bir çalışma kitabını açmak için gereken parolayı içeren string |
Örnek
This example opens excel file book1.xls from the current folder
Workbook.Open('book.xls');
Bu örnek, parola korumalı book2.xls Excel çalışma kitabını 'password' parolasıyla açar