单项选择题VB中将变量x1声明为Excel应用程序对象的方法是()。

A.Dim x1 As Excel.Application
B.Dim x1 As Excel.Workbook
C.Dim x1 As Excel.Worksheet
D.Dim x1 As Excel.Worksheets


您可能感兴趣的试卷

你可能感兴趣的试题

1.单项选择题设ADOrs为Recordset对象,从“学生基本情况表”中获取所有记录的语句是()。

A.ADOrs.Open“select * From 学生基本情况表”
B.ADOrs.Execute“select * From 学生基本情况表”
C.ADOrs.New“select * From 学生基本情况表”
D.ADOrs.Select “select * From 学生基本情况表”

3.单项选择题下列“CommonDialog1”控件程序代码,Commondialog1.Action=1 ,代表()。

A.文件另存为
B.打开文件
C.色彩
D.打印

4.单项选择题如果准备读文件,打开顺序文件“text.dat”的正确语句是()。

A.open ”text.dat” For write As # 1
B.open ”text.dat” For Binary As # 1
C.open ”text.dat” For Input As # 1
D.open ”text.dat” For Random As # 1