第十三章单元测试
  1. tbar.Visible = True上述语句的功能是:使自定义工具栏tbar处于显示可见状态。( )。

  2. A:错 B:对
    答案:对
  3. With tbar.Controls.Add(Type:=msoControlButton)
    .Caption = "数据统计"
    .Style = msoButtonCaption
    .OnAction = "tj"
    End With上述语句的功能是:在自定义工具栏tbar上添加按钮,设置按钮的标题当前年龄、类型,指定要执行的过程(tj)。( )。

  4. A:对 B:错
  5. ny = Trim(Cells(k, 3))
    上述语句中Trim函数的功能是:Trim 函数可删除文本字符串中的所有空格,单词之间的单个空格除外。( )。

  6. A:对 B:错
  7. Year(Date)
    上述语句中Year函数的功能是:Year 函数可用于返回日期/时间值的年部分,从 1900 开始。( )。

  8. A:错 B:对
  9. Set tbar = Application.CommandBars.Add(Temporary:=True)
    With tbar.Controls.Add(Type:=msoControlButton)
    .Caption = "当前年龄"
    .Style = msoButtonCaption
    .OnAction = "age"
    End With
    上述语句的功能是:在自定义工具栏tbar上添加按钮,设置按钮的为不可用状态。( )。

  10. A:对 B:错
  11. 在Excel“开发工具”选项卡“控件”组的“插入”下拉列表中,单击“其他控件”按钮,可以添加所需要控件。( )。

  12. A:错 B:对

温馨提示支付 ¥3.00 元后可查看付费内容,请先翻页预览!
点赞(2) dxwkbang
返回
顶部