Created
November 12, 2018 09:08
-
-
Save DuongAQ/313c1697fb42b2d1e0f6640eb442412b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub ChonMoFileVBA() | |
Dim TenFile As Long | |
'Mo thuoc tinh File Open | |
With Application.FileDialog(msoFileDialogOpen) | |
.AllowMultiSelect = True | |
.Show | |
' Hien thi duong dan cua file duoc chon | |
For TenFile = 1 To .SelectedItems.Count | |
MsgBox .SelectedItems(TenFile) | |
Next TenFile | |
End With | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment