Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open a Windows folder from Access 2000 VBA

Status
Not open for further replies.

BakerUSMC

Technical User
May 24, 2003
96
US
Hello to all,

I'd like to thank all of you that help us out when we are in need. We really appreciate it!!

I have a (hopefully) simple question: I want a user to click a button that will open a windows folder to a specific directory...

Example:
1. Click button
2. Window opens to folder "z:\Receipts"

I want to create this so that the user can easily check to see if certain receipts were already saved to the folder or not. If not, then they now know they need to.

Thanks in advance for your help!!
 
It's quite simple to open an Explorer window to a given folder, e.g.
Call Shell("Explorer ""C:\My Documents""", vbNormalFocus)



Rick Sprague
Want the best answers? See faq181-2886
To write a program from scratch, first create the universe. - Paraphrased from Albert Einstein
 
RickSpr,

Thanks so much for your response. It worked like a charm. Although the link from Nassu was infomative, I just needed something quick and easy like your posting.

THanks again!!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top