Word中VBA的妙用  

The Application of VBA in Word

在线阅读下载全文

作  者:徐驰[1] Xu Chi(School of Electronic Information and Electrical Engineering,Tianshui Normal University,Tianshui Gansu 741001,China)

机构地区:[1]天水师范学院电子与电气工程学院,甘肃天水741001

出  处:《信息与电脑》2017年第4期114-116,共3页Information & Computer

摘  要:VBA是Visual Basic For Application的缩写,是Visual Basic的应用程序版本。很多任务单纯靠Word的默认功能无法完成,借助宏与VBA则可轻松实现。通过一段VBA代码,可以实现画面的切换,可以实现复杂逻辑的统计等。本文应用VBA程序实现了Word文档中空段落的删除、表格中重复数据的填写以及自动行号的生成,为在实践中处理大量的重复性的操作提供了有益尝试和实践。VBA is the abbreviation of Visual Basic For Application,which is the application version of Visual Basic.Many tasks simply rely on the default function of Word can not be completed,with the macro and VBA can be easily achieved.Through a section of VBA code,you can achieve the screen switch,you can achieve complex logic statistics.In this paper,the VBA program is used to realize the deletion of the empty paragraph of the Word document,the filling of the duplicate data in the table and the generation of the automatic line number,which provides a useful attempt and practice for dealing with a large number of repetitive operations in practice.

关 键 词:VBA 代码 空段落 表格 

分 类 号:TP312[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象