- 帖子
- 472
- 主題
- 5
- 精華
- 0
- 積分
- 485
- 點名
- 0
- 作業系統
- Windows
- 軟體版本
- MS Office
- 閱讀權限
- 100
- 性別
- 男
- 來自
- 香港
- 註冊時間
- 2010-7-4
- 最後登錄
- 2014-12-28

|
- Sub UseBreakLink()
- Dim astrLinks As Variant
- ' Define variable as an Excel link type.
- astrLinks = ActiveWorkbook.LinkSources(Type:=xlLinkTypeExcelLinks)
- if not isempty(astrLinks) then
- ' Break the first link in the active workbook.
- ActiveWorkbook.BreakLink _
- Name:=astrLinks(1), _
- Type:=xlLinkTypeExcelLinks
- end if
- End Sub
複製代碼 |
|