考卷名稱:Excel VBA實務班(第二班)測驗(全部95題任選25題)
字體大小:A  A  A 
  考試題目
(1)1.在Excel中活頁簿的英文名稱為      (第一天測驗-01)
*(1)workbook
(2)worksheet
(3)excel
(4)Application
(1)2.在Excel 2007要儲存含有巨集的格式,檔案副檔名為      (第一天測驗-09)
*(1)xlsm
(2)xlsx
(3)csv
(4)txt
(1)3.在Excel VBA中列的英文為      (第一天測驗-13)
*(1)row
(2)column
(3)cell
(4)x
(4)4.切換設計模式及執行模式圖示是      (第一天測驗-17)
(1)
(2)
(3)
*(4)
(4)5.在Excel VBA中物件方法的圖示為      (第一天測驗-21)
(1)
(2)
(3)
*(4)
(4)6.在圖中的數字1代表      (第一天測驗-23)
(1)row(列)
(2)column(行)
(3)worksheet
*(4)cell
(1)7.在圖中的數字2代表      (第一天測驗-24)
*(1)workbook
(2)worksheet
(3)range
(4)cell
(2)8.在圖中的數字3代表      (第一天測驗-25)
(1)row
*(2)column
(3)range
(4)cell
(1)9.在圖中的數字4代表      (第一天測驗-26)
*(1)range
(2)cell
(3)workbook
(4)worksheet
(2)10.在Excel 中要如何在變數d設定為日期1972/3/31      (第一天測驗-29)
(1)d=1972/3/31
*(2)d=#1972/3/31#
(3)d="1972/3/31"
(4)d='1972/3/31'
(1)11.在Excel VBA的即時視窗輸入 print 5/2 請問會顯示      (第二天測驗-07)
*(1)2.5
(2)2
(3)1
(4)0
(2)12.在Excel VBA中不等於的符號是      (第二天測驗-12)
(1)!=
*(2)<>
(3)>=<
(4)==
(1)13.在Excel VBA的即時視窗輸入 print ucase("How are you")請問會顯示      (第二天測驗-23)
*(1)HOW ARE YOU
(2)How are you
(3)how are you
(4)How Are You
(3)14.在Excel VBA的即時視窗輸入 print 1+2+3 請問會顯示      (第二天測驗-28)
(1)123
(2)1+2+3
*(3)6
(4)0
(1)15.使用debug.print rnd(1)不可能產生那一個數字      (第三天測驗-01)
*(1)1
(2)0
(3)0.99
(4)0.5
(2)16.程式碼如下
LRandomNumber = Int ((300 - 200 + 1) * Rnd + 200),請問LRandomNumber的範圍為      (第三天測驗-03)
(1)200
*(2)200<=LRandomNumber<=300
(3)201
(4)201<=LRandomNumber<=301
(1)17.底下程式碼執行結果會在即時視窗出現
Sub test2()
    Dim i, n As Integer
    
    n = 0
    
    For i = 5 To 1
       n = n + 1
    Next i
    Debug.Print n & "," & i
    
End Sub      (第三天測驗-11)
*(1)0,5
(2)0,6
(3)5,6
(4)5,0
(2)18.工作表如圖,若執行底下程式會顯示什麼?
Sub test4()
    Dim i As Integer
    
    i = 1
    
    Do While Cells(i + 1, 2).Value <> ""
       i = i + 1
    Loop
    
    MsgBox Cells(i, 2).Value

End Sub
      (第三天測驗-19)
(1)37
*(2)63
(3)68
(4)0
(2)19.工作表如圖,若執行底下程式會顯示什麼?
Sub test6()
    Dim i As Integer
    
    i = 1
    
    Do While Cells(i + 1, 3).Value <> "" Or Cells(i + 2, 3).Value <> ""
       i = i + 1
    Loop
    
    MsgBox Cells(i, 3).Value

End Sub      (第三天測驗-21)
(1)62
*(2)41
(3)50
(4)59
(1)20.工作表如圖,若執行底下程式會顯示什麼?
Sub test7()
    Dim i As Integer
    
    i = 1
    
    Do While Cells(i + 1, 3).Value <> "" And Cells(i + 2, 3).Value <> ""
       i = i + 1
    Loop
    
    MsgBox Cells(i, 3).Value

End Sub
      (第三天測驗-22)
*(1)86
(2)62
(3)38
(4)41
(1)21.工作表如圖,若執行底下程式會顯示什麼?
Sub test8()
    Dim i As Integer
    
    i = 1
    
    Do While Cells(1, i + 1).Value <> ""
       i = i + 1
    Loop
    
    MsgBox i

End Sub      (第三天測驗-23)
*(1)4
(2)3
(3)5
(4)6
(2)22.工作表如圖,若執行底下程式會顯示什麼?
Sub test10()
    Dim i As Integer
    
    i = 1
    
    Do While Cells(6, i).Value <> ""
       i = i + 1
    Loop
    
    MsgBox i

End Sub      (第三天測驗-25)
(1)1
*(2)2
(3)3
(4)4
(1)23.底下程式執行時會在即時視窗顯示什麼
Sub test2()
    Dim no As Variant
    no = Array(1, 2, 3, 4, 5)
    Debug.Print no(5)   '顯示陣列索引為5的資料
End Sub      (第四天測驗-03)
*(1)出現陣列索引超出範圍
(2)3
(3)4
(4)1
(3)24.底下程式執行時會在即時視窗顯示什麼
Sub test6()
    Dim i As Integer
    Dim std_no(5) As Integer
    
    For i = 1 To 5
        std_no(i) = i
    Next
    
    Debug.Print std_no(3)   '顯示陣列索引為3的資料
End Sub      (第四天測驗-08)
(1)1
(2)2
*(3)3
(4)4
(3)25.底下程式執行時會在即時視窗顯示什麼
Sub test7()
    Dim i As Integer
    Dim std_no(5) As Integer
    
    For i = 1 To 5
        std_no(i - 1) = i - 1
    Next
    
    Debug.Print std_no(3)   '顯示陣列索引為3的資料
End Sub      (第四天測驗-09)
(1)1
(2)2
*(3)3
(4)4
 
考卷名稱:Excel VBA實務班(第二班)測驗(全部95題任選25題)
字體大小:A  A  A 
勤學智慧小語:【30.學好一件事之前,必須先改掉惡習慣。如果錯誤的習慣、想法不能拋棄的話,永遠學不會。】
1小時內上線人數:381 人

您有在蝦皮購物嗎?可以透過https://s.shopee.tw/5peImifZAH 連結去購物會有分潤1%支持網站營運