Get Workbook Connection Names [closed]

不羁岁月 提交于 2020-01-15 05:31:01

问题


I would like to know how to get the list of the workbook connection names in Excel using VBA.


回答1:


This will print all of the connection names to the debug window.

Dim conn As WorkbookConnection
For Each conn In ActiveWorkbook.Connections
  Debug.Print conn.Name
Next conn


来源:https://stackoverflow.com/questions/8273062/get-workbook-connection-names

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!