在ACCESS中打开文件名选择框用下面代码就可以了,但在VB应该如何写呢?
Dim FileName As String
Dim Result As Integer
With Application.FileDialog(msoFileDialogFilePicker)
.Title = "文件名称"
.Filters.Add "文件", "*.TXT"
.AllowMultiSelect = False
.InitialFileName = App.Path & "\ABC"
Result = .Show
End With