- 11月 19 週二 201311:05
2013年4月 Word 2010課程教學內容
- 11月 19 週二 201311:01
2013年4月 PowerPoint 2010課程教學內容
- 11月 19 週二 201310:58
2013年4月 Excel 2010 課程教學內容
- 11月 19 週二 201310:57
2013年4月 部落格 課程教學內容
- 11月 19 週二 201310:55
2013年5月 硬體維修 課程教學內容
- 11月 19 週二 201310:54
2011年9月 威力導演 課程教學內容
- 11月 19 週二 201310:50
2013年6月 會聲會影 X6 課程教學內容
- 11月 19 週二 201310:48
2007年11月 Word2007 課程教學內容
- 11月 15 週五 201310:07
Excel VBA 活頁簿(Workbooks)管理
語法筆記 ' ------------------------------------------------------------
' 查看目前開啟excel檔案數量
Dim OpenCnt as Integer
OpenCnt = Application.Workbooks.Count
' 查看目前開啟excel檔案數量
Dim OpenCnt as Integer
OpenCnt = Application.Workbooks.Count
- 10月 25 週五 201301:20
Excel VBA 取得工作表的最後一欄或最後一列
可以使用ActiveSheet.Rows.Count與ActiveSheet.Columns.Count來取得 最後一列
Cells(ActiveSheet.Rows.Count, 1).End(xlUp).Row 最後一欄 Cells(1, ActiveSheet.Columns.Count).End(xlToLeft).Column 例:
Cells(ActiveSheet.Rows.Count, 1).End(xlUp).Row 最後一欄 Cells(1, ActiveSheet.Columns.Count).End(xlToLeft).Column 例: