文档库 最新最全的文档下载
当前位置:文档库 › 基于VBA的Excel问卷回收方法研究

基于VBA的Excel问卷回收方法研究

2017年第5期

信息与电脑

China Computer&Communication

计算机工程应用技术基于VBA的Excel问卷回收方法研究

邹怡松 刘佳音

(陕西国际商贸学院,陕西 咸阳 712046)

摘 要:笔者将研究如何借助VBA模块在Excel表格形式的调查问卷中,以自动收发邮件的方法回收调查问卷。本研究中的方法在嵌入Excel表格的VBA环境中均已测试成功,说明使用该种方法来回收问卷是可行的。利用这种方法来回收调查问卷的优点首先是成本极低,其次是不会给用户带来不便,而调查人员在使用时也无需过多的计算机专业知识,只需简单操作便可轻松收集调查数据,因此,从理论上来讲能够在一定程度上提高问卷的回收率,具有一定的使用价值。同时,文中阐述了整个过程的设计思想,介绍使用CDO.message组件来发送邮件的方法,以及使用Jmail组件接收邮件的具体方法及核心代码,旨在以低成本、简单实用的方式实现较高的问卷回收率。

关键词:VBA程序;电子邮件;Excel表格

中图分类号:TP311.52 文献标识码:A 文章编号:1003-9767(2017)05-037-04

Research on Excel Questionnaire Recycling Method based on VBA

Zou Yisong, Liu Jiayin

(Shannxi Institute of International Trade & Commerce, Xianyang Shannxi 712046, China) Abstract: The author will study how to use VBA module in the form of Excel form of the questionnaire to automatically send and receive e-mail method to recover the questionnaire. The methods in this study have been successfully tested in the VBA environment embedded in the Excel table, indicating that it is feasible to use this method to recycle the questionnaire. The advantage of using this method to recycle the questionnaire is that the cost is extremely low, followed by inconvenience to the user, and the investigators do not need too much computer expertise to use it, only need to collect the survey data with a simple operation, so theoretically speaking, it can improve the recovery rate of the questionnaire in a certain extent,, with a certain value. At the same time, the paper describes the design of the whole process, and introduces the use of CDO.message components to send e-mail, and the use of Jmail components to receive e-mail specific methods and core code, aimed at low-cost, simple and practical way to achieve a high questionnaire recovery rate.

Key words: VBA program; email; Excel table

1 引言

调查问卷回收方法的选择将直接影响其回收率,而如果回收率过低将会带来调查结果不具说服性、参考价值降低的结果,最终造成资源浪费等问题。如今随着信息化的普及大部分的个人电脑都已接入互联网,而互联网也提供了有效研究方法,让研究者更为方便地进行相关调查。借助信息化进行调查的方法主要有:利用聊天工具在线询问、发送调查类电子邮件以及使用专门提供问卷调查的服务网站等。虽然它们已被广泛应用,但也存在各自的缺点,如在线询问需工作人员在线值守;调查类电子邮件通常会被用户当成垃圾邮件而忽略;提供调查服务的网站需要收取使用费用等。Excel作为Office 的组件之一,其普及率已非常之高,更由于微软在Office组件中嵌入了VBA技术,从而使其扩展性得到了极大提升,因此,本文就如何利用基于VBA的Excel表格实现通过自动发

基金项目:跨专业仿真实验课运行模式研究(项目编号:JGB201615);系统化思维下的我校大学生创新创业团队建设研究。作者简介:邹怡松(1983-),男,湖北宜都人,硕士研究生,助理工程师。研究方向:计算机技术。

— 37 —

相关文档
相关文档 最新文档