WorkBooks[1]; //將指定變數設定第一個活頁簿(數字可以用名稱取代) ... Open(完整路徑); //開啟Excel檔. Excel.WorkBooks[mFile].Close; //關閉Excel檔
確定! 回上一頁