【问题标题】:Hyperlink to pick .oft file dynamically动态选择 .oft 文件的超链接
【发布时间】:2014-08-30 13:55:09
【问题描述】:

我们有一组用户在他们的机器中存储了一个 Outlook 模板(同名)。 我想创建一个超链接,单击该链接将从他们的机器上打开该 .oft 文件,他们可以进一步使用它。基本上我需要知道是否通过使用任何脚本,我们可以获得位置/机器名称。 这可能吗?

【问题讨论】:

    标签: html hyperlink outlook


    【解决方案1】:

    环境变量提供此类信息。

    http://www.slipstick.com/developer/windows-environment-variables-outlook-macros/

    Sub EnumSEVars()
          Dim strVar As String
          Dim i As Long
          For i = 1 To 255
              strVar = Environ$(i)
              If LenB(strVar) = 0& Then Exit For
              Debug.Print strVar
          Next
      End Sub
    

    http://www.askvg.com/list-of-environment-variables-in-windows-xp-vista-and-7/

    http://ss64.com/nt/syntax-variables.html

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-07-30
      • 2014-03-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-05-06
      • 2013-07-24
      相关资源
      最近更新 更多