Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can you select Multiple Files using Common Dialog

Status
Not open for further replies.

Uriel365

Programmer
Dec 18, 2001
37
GB
I am running Access 2002 on Windows XP and am having great difficulty in allowing the user to select multiple files that can be transfered to another folder. Any pointers would be greatly appreciated. The code I am using at present is:

Private Sub cmdBrowseFrom_Click()
Dim strFile As String
With Me.cdlgOpen
.CancelError = True
On Error GoTo ErrHand

.Filter = "All Files (*.*)¦*.*¦"
.ShowOpen
strFile = .FileName
txtNetworkFrom = strFile
End With

ErrHandler:

'User pressed the Cancel button

Exit Sub


End Sub

If it looks wrong and doesn't work then its probably wrong !!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top