Importing a selected file

M

Matthew

I am writing some code and I want to open a open file
dialog box within access (writing in vb). I want the user
to be able to identify which Excel File he/she wants to
import. How do I create an open file dialog box?
 
M

Matthew

I tried that code and it has compilation errors. I'm
working with Access 2000 and it says that that piece of
code is for Access 95. Does that have anything to do with
it?
 
K

Ken Snell

This code is successfully used in all versions of ACCESS. Not sure what
compilation errors you got (can you post what they were?), but be sure that
you put ALL the code (there are multiple procedures in the code list) into
your database.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top