首页 相关文章 Excel Vba读取XML

Excel Vba读取XML

如下代码示例的功能是,在Excel中,通过VBA代码,读取XML文件中的内容。

Dim rst As ADODB.Recordset

Dim stCon As String, stFile As String

Dim i As Long, j As Long

Set rst = New ADODB.Recordset

stFile = "C:dzwebs.xml"

stCon = "Provider=MSPersist;"

With rst

.CursorLocation = adUseClient

...[ 查看全文 ]

2016-02-19 标签:

Excel Vba读取XML的相关文章

手机页面
收藏网站 回到头部