题目内容

在 VBA 定义过程时,说明形参是传值方式的关键字是________。

A. Var
ByDef
C. ByVal
D. ByRef

查看答案
更多问题

VBA 中仅仅只去除字符串前面空格的函数是________。

A. LTrim
B. RTrim
C. Trim
D. Space

运行如下所示的过程,变量n的值是________。Private Sub p48()Dim i As Integer, n As IntegerFor j=0 to 50i = i + 3n = n + 1If i>10 Then Exit ForNext jEnd Sub

A. 2
B. 3
C. 4
D. 5

运行如下所示的p54过程后,消息框的输出结果是________。Private Sub p54()MsgBox f(24,18)End SubPublic Function f(m As Integer,n As Integer)As IntegerDo While m<>nDo While m>nm = m-nLoopDo While m

A. 2
B. 4
C. 6
D. 8

运行如下所示的program过程后,消息框的输出结果是________。Private Sub program ()Dim d1 As DateDim d2 As Dated1 = #12/25/2009#d2 = #1/5/2010#MsgBox DateDiff("ww", d1, d2)End Sub

答案查题题库