乐筑天下's Archiver
社区
›
VB
› VBA中在导出txt文件时,如何搜索重复文件名?已解决
idoo
发表于 2007-10-10 22:07:00
VBA中在导出txt文件时,如何搜索重复文件名?已解决
在VBA中,做txt文件输出时,如何检索目标目录下是否有重名的文件???
Dim strFileName As String, strTemp As String
strFileName = "D:\Out\" & txtName.Text & ".txt"
Open strFileName For Output As #1
页:
[1]
查看完整版本:
VBA中在导出txt文件时,如何搜索重复文件名?已解决