zoukankan      html  css  js  c++  java
  • VBA 的前期绑定和后期绑定

    字典:

    后期绑定: Set dic = CreateObject("scripting.dictionary")

    前期绑定: Microsoft Scripting Runtime

    Outlook:

    后期绑定: Set objol = CreateObject("Outlook.Application")

    前期绑定: Microsoft Outlook [version number] Object Library

    FSO(FileSystemObject):

    后期绑定:Set MyFile = CreateObject("Scripting.FileSystemObject")

    前期绑定: Microsoft Scripting Runtime

     正则表达:

    前期绑定: 引用Microsoft VBScript Regular Expressions 5.5类库,然后直接定义对象:Dim reg As New RegExp。

    后期绑定: 使用CreateObject方法定义对象:CreateObject("VBSCRIPT.REGEXP")。

    目前经常用就这么三个,后续有用到继续补充.

  • 相关阅读:
    模板类 & 虚函数
    Page Color (页面着色)
    修改静态库
    ElementUI 时间选择器
    自定义export
    vue组件
    ElementUI 表格
    ElementUI 分页
    数组方法分类
    Vue过滤数组副本
  • 原文地址:https://www.cnblogs.com/Young-shi/p/12206578.html
Copyright © 2011-2022 走看看