新建立一個模塊
然後再其中添加如下代碼
Option Explicit
Public Const email =
Public Const URL =
Public Declare Function ShellExecute Lib
Public Const SW_SHOWNORMAL =
Public Sub gotoweb()
Dim Success As Long
Success = ShellExecute(
End Sub
Public Sub sendemail()
Dim Success As Long
Success = ShellExecute(
End Sub
接著就簡單不過了!
在你所要進行超連接的窗體中
那就在LABEL的CLICK事件中加入 gotoweb或sendemail 即可!
From:http://tw.wingwit.com/Article/program/net/201311/12732.html