<   Excel VBA基本觀念測驗(一)   >

免費免註冊,彰化一整天線上測驗:http://exam.bestdaylong.com/test2187.htm

( )1. 修改Excel按鈕顯示文字是使用那一個屬性(1)caption (2)name (3)text (4)value
( )2. 切換設計模式及執行模式圖示是(1) (2) (3) (4)
( )3. 在Excel VBA中下列那一個敍述是錯的(1)i=i (2)i=-i (3)i+1=i (4)let i=i+1
( )4. 圖中的數字4代表(1)worksheet (2)range (3)cell (4)workbook
( )5. 變數的命名規則(1)以上皆是 (2)第一個字元需英文字母 (3)變數名稱不可包含空白、點、,逗號或其他特殊字元 (4)變數名稱不可為關鍵字,例如for、next、while、public等
( )6. 在Excel物件的使用方式中是用什麼來表示階層(1)等號 (2)冒號 (3)減號 (4)句號
( )7. 在Excel VBA中列的英文為(1)cell (2)x (3)row (4)column
( )8. 在Excel VBA中要宣告變數I為日期語法為(1)dim I as date (2)dim I as integer (3)dim I as single (4)dim I as string
( )9. 在Excel VBA中程式碼註解是用什麼字元(1)冒號 (2)分號 (3)單引號 (4)雙斜線
( )10. 在Excel VBA中物件屬性的圖示為(1) (2) (3) (4)
( )11. 在Excel中工作表的英文名稱為(1)Application (2)workbook (3)worksheet (4)excel
( )12. 下列那一個Excel VBA語法是正確的(1)cells(1,1)=123 (2)excel.range("a1").text=123 (3)range(a1).value=123 (4)cells("a1").value=123
( )13. 圖中的數字3代表(1)row (2)column (3)range (4)cell
( )14. 在Excel中活頁簿的英文名稱為(1)worksheet (2)excel (3)Application (4)workbook
( )15. 在Excel VBA中要宣告變數I為字串語法為(1)dim I as date (2)dim I as integer (3)dim I as single (4)dim I as string
( )16. 在Excel 2007要儲存含有巨集的格式,檔案副檔名為(1)xlsx (2)csv (3)txt (4)xlsm
( )17. 在Excel VBA中要顯示一段文字hello那一段語法是對的(1)msgbox hello (2)msgbox "hello" (3)say "hello" (4)say hello
( )18. 圖中的數字6代表(1)range (2)cell (3)workbook (4)worksheet
( )19. 在Excel VBA中物件方法的圖示為(1) (2) (3) (4)
( )20. inputbox的回傳值型別是(1)string (2)single (3)date (4)integer
( )21. 在Excel 中要如何在變數d設定為日期1972/3/31(1)d=#1972/3/31# (2)d="1972/3/31" (3)d='1972/3/31' (4)d=1972/3/31
( )22. MsgBox的回傳值型別是(1)single (2)date (3)integer (4)string
( )23. 圖中的數字5代表(1)row (2)column (3)range (4)cell
( )24. 圖中的數字2代表(1)cell (2)workbook (3)worksheet (4)range
( )25. 圖中的數字1代表(1)row(列) (2)column(行) (3)worksheet (4)cell
( )26. 在Excel VBA中變數的宣告要使用那一個指令(1)dim (2)let (3)print (4)set
( )27. 在Excel VBA參數與參數中間是用什麼符號區隔(1)等號 (2)冒號 (3)減號 (4)逗點
( )28. 在Excel VBA中要宣告變數I為整數語法為(1)dim I as date (2)dim I as integer (3)dim I as single (4)dim I as string
( )29. 在Excel VBA中要宣告變數I為有小數語法為(1)dim I as single (2)dim I as string (3)dim I as date (4)dim I as integer
( )30. 插入按鈕是那個圖示(1) (2) (3) (4)

解答:
001.【1】002.【4】003.【3】004.【2】005.【1】006.【4】007.【3】008.【1】009.【3】010.【1】
011.【3】012.【1】013.【2】014.【4】015.【4】016.【4】017.【2】018.【4】019.【1】020.【1】
021.【1】022.【3】023.【1】024.【2】025.【4】026.【1】027.【4】028.【2】029.【1】030.【3】

詳解: