Link to home
Start Free TrialLog in
Avatar of Stapman
Stapman

asked on

"File - Open" - Window in Access

I want to use the "File - Open"-Window in VBA (Access), but I do not know the source code for showing the window and working with the information from that window (which file, path etc.).

I do not want to open this file but rather let the user pick the file (and path etc.) my program should work with.
Avatar of raygibbins
raygibbins

Put a CommonDialog control on a form
Name it CommonDialog1


CommonDialog1.Action = 1
MsgBox CommonDialog1.FileName
MsgBox CommonDialog1.FileTitle

Avatar of Stapman

ASKER

Thanks!!
Please give me an "answer" so that you can receive your points!
ASKER CERTIFIED SOLUTION
Avatar of raygibbins
raygibbins

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Stapman

ASKER

Thanks!!
Please give me an "answer" so that you can receive your points!