Results 1 to 3 of 3

Thread: Using .Filter in the CommonDialog

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Mar 2005
    Location
    Italy-Napoli
    Posts
    2,093

    Using .Filter in the CommonDialog

    this code return all type of file, i need to select only *.mdb and *.az

    Code:
    With Me.CommonDialog1
    .FileName = ""
    .Filter = "(*.MDB),(*.AZ)"
    .DialogTitle = "SELEZIONA DATABASE..."
    .ShowOpen
    End With

  2. #2
    PowerPoster Arnoutdv's Avatar
    Join Date
    Oct 2013
    Posts
    4,152

    Re: Using .Filter in the CommonDialog

    Do you ever check the help?
    Do you ever search the forum?
    Do you ever use Google or Bing?

    https://www.vbforums.com/showthread....Dialog-Control

  3. #3
    PowerPoster
    Join Date
    Feb 2017
    Posts
    2,962

    Re: Using .Filter in the CommonDialog

    Code:
    .Filter = "Supported files|*.MDB;*.AZ"

Posting Permissions

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



Click Here to Expand Forum to Full Width