CAMINHO = Application.GetOpenFilename("Worksheets (*.xls),
*.xls", , "SELECCIONE OS FICHEIROS", , True)
If VarType(CAMINHO) = 11 Then
MsgBox "NÃO FORAM SELECCIONADOS FICHEIROS", vbCritical
End If
If you want the user to select olny one file change True
to False.
Note that CAMINHO will be a array type variable if the
user select a file.
Hope this help.
Joao
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.