Hi, All
I try to use an Excel Macro which includs the following code.
----------------------------------------------------------------------------------
With Application.FileDialog(msoFileDialogFolderPicker)
.title = "Choose Folder"
.InitialFileName = "C:\Users\FLC004\Desktop\PDF"
If .Show = 0 Then
MsgBox "Interruption"
End ←←←
Else
myfolder = .SelectedItems(1)
End If
End With
----------------------------------------------------------------------------------
When I use "Run Excel Macro" , the process goes through "End"(←←←part), nevertheless FileDialog is shown again.
I click "cancel" again and the error occurs(cf: attached file).
Do you know how to address this situation?