Sub 匯入資料()
Application.Calculation = xlCalculationManual '手動計算
Workbooks.Open Filename:="C:\Documents and Settings\k1489.KT_DOMAIN\桌面\李鎮江\來源資料\資料彙整2.xls" '開檔
Run "資料彙整2.xls!Sheet1.CommandButton7_Click"
Run "資料彙整2.xls!Sheet2.CommandButton11_Click"
Run "資料彙整2.xls!Sheet3.CommandButton5_Click"
ActiveWorkbook.PrecisionAsDisplayed = False
ActiveSheet.Calculate
End Sub作者: GBKEE 時間: 2011-9-28 17:23
回復 9#lone_tiger0303
請檢查 資料彙整2.xls 中的Sheets
Run "資料彙整2.xls!Sheet1.CommandButton7_Click"
Run "資料彙整2.xls!Sheet2.CommandButton11_Click"
Run "資料彙整2.xls!Sheet3.CommandButton5_Click"作者: lone_tiger0303 時間: 2011-9-29 12:48