Sub ShowFolderList(strFolderPath As String) '向待导入数据列表矿添加数据的过程
Dim i As Long
Dim fso As Object
Dim objFolder As Object
Dim objFile As Object
Set fso = CreateObject("Scripting.FileSystemObject")
Set objFolder = fso.GetFolder(strFolderPath)
Me.List1.RowSource = ""
For Each objFile In objFolder.Files
Me.List1.AddItem (objFile.Name)
Next
Set objFile = Nothing
Set objFolder = Nothing
Set fso = Nothing