How do I set the file path for the getopenfilename function?

shu-shu-shuk

New member
Local time
Today, 20:32
Joined
Apr 9, 2022
Messages
5
How do I set the file path for the getopenfilename function?... Appears as the default folder.

----------------
Dim FO As Object
Dim FN

Set FO = CreateObject("excel.Application")
FN = FO.getopenfilename("Text Files (*.txt), *.txt", , "File Open", , True)
 
Are you doing this in Excel or Access?
 

Users who are viewing this thread

Back
Top Bottom