Dim FSys As New Scripting.FileSystemObject Dim DrawFolder As Folder Dim DrawName As File
' strDwgFolder 图纸路径 If FSys.FolderExists("strDwgFolder") Then Set DrawFolder = FSys.GetFolder("strDwgFolder") For Each DrawName In DrawFolder.Files If Then ' 插入语句