I have the following code below
I need the code with the wildcard to be amended so that files containing the will display in folder to all user to select the one containing these names
it would be appreciated if someone could kindly assist me
I need the code with the wildcard to be amended so that files containing the will display in folder to all user to select the one containing these names
Code:
Dim FileAry As Variant, Fle As Variant
With Application.FileDialog(3)
.InitialFileName = "C:\My Documents\"
.AllowMultiSelect = True
.InitialFileName = "*Barney*","*Frame Finance*","*credit*xls*"
If .Show Then Set FileAry = .SelectedItems()
it would be appreciated if someone could kindly assist me