Hi,
I have a form with a button and a field called "file"
When I push the button I would like the code to find the name of an unknown file in C:\test\ and then put it in the field "file"
What I have tried:
Dim fso As Object
Set fso = CreateObject("Scripting.FileSystemObject")
Me.Name = fso.GetFileName("c:\test\*.*")
Many thanks!
Hanss
Zurich
I have a form with a button and a field called "file"
When I push the button I would like the code to find the name of an unknown file in C:\test\ and then put it in the field "file"
What I have tried:
Dim fso As Object
Set fso = CreateObject("Scripting.FileSystemObject")
Me.Name = fso.GetFileName("c:\test\*.*")
Many thanks!
Hanss
Zurich