?? delphi中如何取得excel的資料 (2000年11月27日).txt
字號:
Delphi中如何取得Excel的資料 (2000年11月27日)
本站更新 分類: 作者:srw 推薦: 閱讀次數(shù):811
(http://www.codesky.net)
--------------------------------------------------------------------------------
Delphi中如何取得Excel的資料
DdeClientConv 位于 System 元件表
Function TForm1.InitExcel:bool;
begin
DdeClientConv1.SetLink( 'Excel', 'Sheet1' ); // 可改 'Sheet1' 為其它黃heet 名稱
if (DdeClientConv1.ddeservice='') or
(DdeClientConv1.ddetopic='')
then
Result:=False
else
Result:=True;
end;
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -