码迷,mamicode.com
首页 > 移动开发 > 详细

Visual Basic for Applications

时间:2014-09-03 22:39:57      阅读:263      评论:0      收藏:0      [点我收藏+]

标签:des   style   http   color   os   io   ar   for   art   

      Visual Basic for Application(VBA) is an implementation of Microsoft’s event-driven programming language Visual Basic 6. Its associated integrated development(IDE) are built into most Microsoft Office applications. It enables building user defined functions, automating processesand accessing Windows API and other low-level functionality through dynamic-link libraries(DLLs). It is also built into Office for Mac applications(apart from version 2008) and other Microsoft applications such as Microsoft MapPoint and Microsoft  Visio, as well as being at least partially implemented in other applications such as AutoCAD, WordPerfect and ArcGIS. It supersedes and expands on the abilities of earlier application-specific macro programming languages such as Word’s WordBasic. It can be used to control many aspects ofthe host application, including manipulating user interface features, such as menus and toolbars, and working with custom user forms or dialog boxes. It can also be used to create import and export filters for various file formats, such as OpenDocument(ODF).

Just as its name suggests, it is closely related to Visual Basic and uses the Visual Basic Runtime Library, but can normally only run code within a host application rather than as a standalone program. It can, however, be used to control one application from another viaOLEAutomation. It also has the ability to use (but not create) (ActiveX/COM) DLLs, and later versions will add support for class modules.

 

Visual Basic for Applications

标签:des   style   http   color   os   io   ar   for   art   

原文地址:http://www.cnblogs.com/david-b-w-chan/p/3954726.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!