【发布时间】:2014-08-05 08:41:05
【问题描述】:
我正在开发 ms access 2013,但发现了一些错误。我正在尝试从文本文件中读取数据,但它显示错误。我到处搜索,但没有复制问题。请帮我解决这个问题。
代码
Set fs = Application.FileSearch 'Get Error on this line
With fs
Debug.Print CABPath
.LookIn = CABPath
.SearchSubFolders = True
.FileName = ConFileNm
If .Execute() > 0 Then
For FileNum = 1 To .FoundFiles.Count
Next
End If
End With
错误说明
Run-time error 2455:
You entered an expression that has an invalid reference to the property FileSearch
【问题讨论】:
-
能否也向我们提供错误描述?还有抛出此错误的 LOC。
-
是的,请立即检查已编辑的问题
-
你最后把这个排序了吗?
-
那么您能否将帮助您的人标记为答案,以便其他人可以从中受益?
-
@PaulFrancis 准确答案不在列表中
标签: ms-access file-io vba ms-access-2013