Access 2000 Open File Dialog Box

Z

zenonk

I need to create an Open File Dialog box in Access 2000. I am
attempting to use the code from
http://www.mvps.org/access/api/api0001.htm but am not clear how to do
so. Do I just paste it into the VB code which relates to the form
where I need to use it, or do I make it a class module? If so, does it
need to be called something specific? I am getting the following
error:

Compile Error
Constants, fixed-length strings, arrays, user-defined types and Declare
statements not allowed as Public members of object modules. It is
referring to the Global Const statements I believe.

thanks
 
D

Douglas J. Steele

Everything between Code Start and Code End should be copied into a standard
module (not a module associated with a form, nor a class module).

Make sure you don't name the module the same as any of the routines within
it.
 

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