Results 1 to 3 of 3

Thread: OpenFile dialog

  1. #1
    Join Date
    Jan 2002
    Posts
    3

    Post Unanswered: OpenFile dialog

    Hello,
    I want to put into a form button that opens an OpenFile Dialog. I want to import some information from excel file in the aplication but don't want to put a full path to this file in text box, I prefer to use openfile dialog.
    I found example in Code Librarian

    Private Function MSA_GetOpenFileName(msaof As MSA_OPENFILENAME)

    but i cannot use it - visual basic gives me an error MSA_OPENFILENAME no type defined. Maybe i should create additional references in my visual basic enviroment, but id don't know what shall I include.

  2. #2
    Join Date
    Nov 2001
    Posts
    336
    Here ia link to a code to display OpenFile dialog:

    http://www.mvps.org/access/api/api0001.htm

    HTH,

  3. #3
    Join Date
    Jan 2002
    Posts
    3

    Smile

    Thanks a lot, it works fine.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •