I need to show only *.mdb and *.az
but the code return all type of file!
With Me.CommonDialog1
.FileName = ""
.Filter = "(*.MDB),(*.AZ)"
.DialogTitle = "SELEZIONA DATABASE..."
.ShowOpen
End With
DIALOG and file tipe
-
- Administrator
- Posts: 78494
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: DIALOG and file tipe
Use
Code: Select all
.Filter = "MDB and AZ (*.mdb;*.az)|*.mdb;*.az"
Best wishes,
Hans
Hans
-
- PlatinumLounger
- Posts: 4356
- Joined: 26 Apr 2010, 17:36
Re: DIALOG and file tipe
WORK!HansV wrote: ↑23 Jan 2021, 11:26Use
Code: Select all
.Filter = "MDB and AZ (*.mdb;*.az)|*.mdb;*.az"