开发者

extracting connection string from .odc file

开发者 https://www.devze.com 2023-03-25 07:42 出处:网络
I have a .odc file. I would like to extract the connection string from this throu开发者_如何学Pythongh VBA code.You could access through connections object in excel

I have a .odc file. I would like to extract the connection string from this throu开发者_如何学Pythongh VBA code.


You could access through connections object in excel

ThisWorkbook.Connections.Item(1).OLEDBConnection.Connection
ThisWorkbook.Connections.Item(1).ODBCConnection.Connection

ODC file shares the same information. If you are still interested in parsing .odx file you could do with XML parser.

Hope that answers your query

0

精彩评论

暂无评论...
验证码 换一张
取 消